cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.EraBased.Governance.Actions.Run

Synopsis

Documentation

carryHashChecks Source #

Arguments

:: MustCheckHash a

Whether to check the hash or not (CheckHash for checking or TrustHash for not checking)

-> Anchor

The anchor data whose hash is to be checked

-> AnchorDataTypeCheck

The type of anchor data to check (for error reporting purpouses)

-> ExceptT GovernanceActionsError IO () 

Check the hash of the anchor data against the hash in the anchor if checkHash is set to CheckHash.