diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs index 4331baf73c..ffa0570ebd 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs @@ -217,7 +217,7 @@ runTransactionBuildCmd let returnAddrHashes = fromList - [ StakeCredentialByKey returnAddrHash + [ returnAddrHash | (proposal, _) <- proposals , let (_, returnAddrHash, _) = fromProposalProcedure eon proposal -- fromProposalProcedure needs to be adjusted so that it works with script hashes. ]