Skip to content

Commit bf57a58

Browse files
committed
Fixed code layout
1 parent c23f637 commit bf57a58

File tree

1 file changed

+3
-4
lines changed
  • ouroboros-network/src/Ouroboros/Network/PeerSelection/Governor

1 file changed

+3
-4
lines changed

ouroboros-network/src/Ouroboros/Network/PeerSelection/Governor/Monitor.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ connections PeerSelectionActions{
115115
check (not (Map.null demotions))
116116
let (demotedToWarm, demotedToCold) = Map.partition ((==PeerWarm) . fst) demotions
117117
return $ \now ->
118-
let (aFuzz, fuzzRng') = randomR (-5, 5 :: Double) fuzzRng
119-
(rFuzz, fuzzRng'') = randomR (-2, 2 :: Double) fuzzRng'
120-
activePeers' = activePeers
121-
Set.\\ Map.keysSet demotions
118+
let (aFuzz, fuzzRng') = randomR (-5, 5 :: Double) fuzzRng
119+
(rFuzz, fuzzRng'') = randomR (-2, 2 :: Double) fuzzRng'
120+
activePeers' = activePeers Set.\\ Map.keysSet demotions
122121

123122
-- Note that we do not use establishedStatus' which
124123
-- has the synchronous ones that are supposed to be

0 commit comments

Comments
 (0)