diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs b/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs index ed269e3aa..f06d3c45a 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs @@ -44,12 +44,8 @@ checkVotingProcedureHashes eon (Shelley.VotingProcedures (L.VotingProcedures vot Shelley.shelleyBasedEraConstraints eon $ forM_ voterMap - ( \vpMap -> - forM_ - vpMap - ( \(L.VotingProcedure _ mAnchor) -> + ( mapM $\(L.VotingProcedure _ mAnchor) -> forM_ mAnchor checkAnchorMetadataHash - ) ) -- | Find references to anchor data in proposals and check the hashes are valid