Skip to content

Commit 18f13c8

Browse files
committed
Fixup haddock to reflect generality of protocol version update
1 parent ce51137 commit 18f13c8

File tree

1 file changed

+4
-3
lines changed
  • ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger

1 file changed

+4
-3
lines changed

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Ledger.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,10 @@ newtype ShelleyTransition = ShelleyTransitionInfo {
229229
-- 3. If we count how many blocks we have seen post deadline, and we have
230230
-- reached k of them, we know that that last pre-deadline block won't
231231
-- be rolled back anymore.
232-
-- 4. At this point we can look at the ledger state and see which
233-
-- proposals we accepted in the voting period, if any, and notify the
234-
-- HFC is one of them indicates a transition.
232+
-- 4. At this point we can look at the ledger state and see if there is
233+
-- a new protocol version update scheduled on the next epoch boundary,
234+
-- and notify the HFC that we need to transition into a new era at that
235+
-- point.
235236
shelleyAfterVoting :: Word32
236237
}
237238
deriving stock (Eq, Show, Generic)

0 commit comments

Comments
 (0)