From 16bc566828b56e4d688933939920d093cfdeb1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Mon, 25 Nov 2024 21:17:13 +0100 Subject: [PATCH] Transaction: adapt to type change of fromProposalProcedure --- cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs index 93cc93f889..113edbf09b 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs @@ -217,9 +217,9 @@ runTransactionBuildCmd let returnAddrHashes = fromList - [ StakeCredentialByKey returnAddrHash + [ stakeCredential | (proposal, _) <- proposals - , let (_, returnAddrHash, _) = fromProposalProcedure eon proposal -- fromProposalProcedure needs to be adjusted so that it works with script hashes. + , let (_, stakeCredential, _) = fromProposalProcedure eon proposal -- fromProposalProcedure needs to be adjusted so that it works with script hashes. ] treasuryWithdrawalAddresses = fromList