File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
ouroboros-network/src/Ouroboros/Network/PeerSelection/Governor Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,9 @@ connections PeerSelectionActions{
115
115
check (not (Map. null demotions))
116
116
let (demotedToWarm, demotedToCold) = Map. partition ((== PeerWarm ) . fst ) demotions
117
117
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
122
121
123
122
-- Note that we do not use establishedStatus' which
124
123
-- has the synchronous ones that are supposed to be
You can’t perform that action at this time.
0 commit comments