Skip to content

Commit

Permalink
Replace forM_ with mapM
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Galazyn <[email protected]>
  • Loading branch information
palas and carbolymer authored Oct 31, 2024
1 parent ca3eee5 commit dbe20bf
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbe20bf

Please sign in to comment.