Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLopezDeLara committed Feb 1, 2025
1 parent e83d900 commit f2bdf98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-api/internal/Cardano/Api/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ toConsensusQueryShelleyBased sbe = \case
Some (consensusQueryInEraInMode era Consensus.GetGovState)
QueryFuturePParams ->
caseShelleyToBabbageOrConwayEraOnwards
(const $ error "toConsensusQueryShelleyBased: QueryRatifyState is only available in the Conway era")
(const $ error "toConsensusQueryShelleyBased: QueryFuturePParams is only available in the Conway era onwards")
(const $ Some (consensusQueryInEraInMode era Consensus.GetFuturePParams))
sbe
QueryDRepState creds ->
Expand Down

0 comments on commit f2bdf98

Please sign in to comment.