Skip to content

Commit

Permalink
Merge pull request #1595 from input-output-hk/jc/fix-incorrect-error-…
Browse files Browse the repository at this point in the history
…name-KESPeriodWrongOCERT

rename KESPeriodWrongOCERT to CounterTooSmallOCERT
  • Loading branch information
nc6 committed Jun 30, 2020
2 parents c58fafe + 68cc62d commit 40698f8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ instance
!KESPeriod -- Current KES Period
!KESPeriod -- OCert Start KES Period
!Word64 -- Max KES Key Evolutions
| KESPeriodWrongOCERT
| CounterTooSmallOCERT
!Natural -- last KES counter used
!Natural -- current KES counter
| InvalidSignatureOCERT -- TODO use whole OCert
Expand Down Expand Up @@ -106,5 +106,5 @@ ocertTransition =
failBecause $ NoCounterForKeyHashOCERT hk
pure cs
Just m -> do
m <= n ?! KESPeriodWrongOCERT m n
pure $ addpair hk n cs -- cs ⨃ (singleton hk n)
m <= n ?! CounterTooSmallOCERT m n -- cs ⨃ (singleton hk n)
pure $ addpair hk n cs

0 comments on commit 40698f8

Please sign in to comment.