File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
cardano-cli/src/Cardano/CLI/EraBased/Transaction Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ module Cardano.CLI.EraBased.Transaction.HashCheck
88where
99
1010import Cardano.Api (Certificate (.. ), ExceptT , firstExceptT )
11+ import qualified Cardano.Api as L
1112import qualified Cardano.Api.Ledger as L
1213import qualified Cardano.Api.Shelley as Shelley
1314
@@ -16,7 +17,6 @@ import Cardano.CLI.Types.Common (MustCheckHash (..), PotentiallyChecke
1617import Cardano.CLI.Types.Errors.TxCmdError (TxCmdError (.. ))
1718
1819import Control.Monad (forM_ )
19- import qualified Cardano.Api as L
2020
2121-- | Check the hash of the anchor data against the hash in the anchor
2222checkAnchorMetadataHash :: L. Anchor L. StandardCrypto -> ExceptT TxCmdError IO ()
@@ -72,6 +72,7 @@ checkProposalHashes
7272 checkGovActionHashes
7373 :: L. GovAction (Shelley. ShelleyLedgerEra era ) -> ExceptT TxCmdError IO ()
7474 checkGovActionHashes govAction' =
75+ -- Only the `NewConstitution` governance action contains a checkable hash with a corresponding URL.
7576 Shelley. shelleyBasedEraConstraints eon $
7677 case govAction' of
7778 L. ParameterChange {} -> return ()
You can’t perform that action at this time.
0 commit comments