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