diff --git a/cardano-api/internal/Cardano/Api/Query.hs b/cardano-api/internal/Cardano/Api/Query.hs index 03f640713c..79b05e1cb9 100644 --- a/cardano-api/internal/Cardano/Api/Query.hs +++ b/cardano-api/internal/Cardano/Api/Query.hs @@ -686,7 +686,7 @@ toConsensusQueryShelleyBased sbe = \case sbe 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 ->