Skip to content

Commit e28dd6f

Browse files
committed
Fix pattern match on consensus era
1 parent 84078d2 commit e28dd6f

File tree

1 file changed

+1
-1
lines changed
  • cardano-api/src/Cardano/Api/Consensus/Internal

1 file changed

+1
-1
lines changed

cardano-api/src/Cardano/Api/Consensus/Internal/Mode.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,5 @@ fromConsensusEraIndex = \case
167167
AnyCardanoEra BabbageEra
168168
Consensus.EraIndex (S (S (S (S (S (S (Z (K ())))))))) ->
169169
AnyCardanoEra ConwayEra
170-
Consensus.EraIndex (S (S (S (S (S (S (S _))))))) ->
170+
Consensus.EraIndex (S (S (S (S (S (S (S (Z (K ()))))))))) ->
171171
AnyCardanoEra DijkstraEra

0 commit comments

Comments
 (0)