From be2d5aba3e34bd3ecae2ff6f4212ee195aed3650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Tue, 26 Nov 2024 16:25:27 +0100 Subject: [PATCH] inject->convert --- cardano-api/internal/Cardano/Api/Query/Expr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cardano-api/internal/Cardano/Api/Query/Expr.hs b/cardano-api/internal/Cardano/Api/Query/Expr.hs index a0674a059..f7cf15a16 100644 --- a/cardano-api/internal/Cardano/Api/Query/Expr.hs +++ b/cardano-api/internal/Cardano/Api/Query/Expr.hs @@ -504,7 +504,7 @@ queryProposals (Either EraMismatch (Seq (L.GovActionState (ShelleyLedgerEra era)))) ) queryProposals cOnwards govActionIds = do - let sbe :: ShelleyBasedEra era = inject cOnwards + let sbe = convert cOnwards queryExpr $ QueryInEra . QueryInShelleyBasedEra sbe $ QueryProposals govActionIds