Skip to content

Commit

Permalink
Use fromList not Set.fromList
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLopezDeLara committed Nov 15, 2024
1 parent 3870e25 commit 2870d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ runTransactionBuildCmd
-- Extract return addresses from proposals and check that the return address in each proposal is registered

let returnAddrHashes =
Set.fromList
fromList
[ StakeCredentialByKey returnAddrHash
| (proposal, _) <- proposals
, let (_, returnAddrHash, _) = fromProposalProcedure eon proposal -- fromProposalProcedure needs to be adjusted so that it works with script hashes.
Expand Down

0 comments on commit 2870d50

Please sign in to comment.