Skip to content

Commit 5e21004

Browse files
committed
Fix invariant
1 parent fef88fc commit 5e21004

File tree

1 file changed

+1
-1
lines changed
  • ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/HardFork/History

1 file changed

+1
-1
lines changed

ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/HardFork/History/Summary.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ invariantSummary = \(Summary summary) ->
489489
$ unless
490490
( (unEpochSize $ eraEpochSize curParams)
491491
`mod` (unPerasRoundLength . fromJust $ eraPerasRoundLength curParams)
492-
/= 0
492+
== 0
493493
)
494494
$ throwError
495495
$ mconcat

0 commit comments

Comments
 (0)