From c5a74fe3a797f6ce27de2831d60434a863dde35c Mon Sep 17 00:00:00 2001 From: Pablo Lamela Date: Fri, 25 Oct 2024 19:41:51 +0200 Subject: [PATCH] Add comment to `checkGovActionHashes` --- cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs b/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs index b4a9079f3..ed269e3aa 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Transaction/HashCheck.hs @@ -68,3 +68,5 @@ checkProposalHashes Shelley.shelleyBasedEraConstraints eon $ do checkAnchorMetadataHash anchor maybe (return ()) checkAnchorMetadataHash (getAnchorDataFromGovernanceAction govAction) + +-- Only the `NewConstitution` governance action contains a checkable hash with a corresponding URL.