We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1984bbb commit 9eb689cCopy full SHA for 9eb689c
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Peras/Vote/Aggregation.hs
@@ -369,10 +369,11 @@ updatePerasRoundVoteState vote cfg roundState =
369
in if votePoint == winnerPoint
370
then pure $ state{prvsWinnerState = updateWinnerVoteState vote prvsWinnerState}
371
else do
372
- prvsLoserStates' <- Map.alterF
373
- (\mState -> Just <$> updateMaybeLoser mState)
374
- votePoint
375
- prvsLoserStates
+ prvsLoserStates' <-
+ Map.alterF
+ (\mState -> Just <$> updateMaybeLoser mState)
+ votePoint
376
+ prvsLoserStates
377
pure $ state{prvsLoserStates = prvsLoserStates'}
378
379
-- | Updates the round vote states map with the given vote.
0 commit comments