Skip to content

Commit

Permalink
Detail: remove some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Jan 9, 2024
1 parent 658243b commit 26e2aa7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3115,25 +3115,6 @@ pDRepVerificationKeyOrHashOrFile =
, VerificationKeyHash <$> pDRepVerificationKeyHash
]

pCombinedDRepVerificationKeyOrHashOrFile
:: Parser (VerificationKeyOrHashOrFile DRepKey)
pCombinedDRepVerificationKeyOrHashOrFile =
asum
[ VerificationKeyOrFile <$> pCombinedDRepVerificationKeyOrFile
, VerificationKeyHash <$> pCombinedDRepVerificationKeyHash
]

pCombinedDRepVerificationKeyHash :: Parser (Hash DRepKey)
pCombinedDRepVerificationKeyHash =
Opt.option (pBech32KeyHash AsDRepKey <|> pHexHash AsDRepKey) $ mconcat
[ Opt.long "combined-drep-key-hash"
, Opt.metavar "HASH"
, Opt.help $ mconcat
[ "DRep verification key hash (either Bech32-encoded or hex-encoded). "
, "Zero or more occurences of this option is allowed."
]
]

pCombinedDRepVerificationKey :: Parser (VerificationKey DRepKey)
pCombinedDRepVerificationKey =
Opt.option (readVerificationKey AsDRepKey) $ mconcat
Expand Down

0 comments on commit 26e2aa7

Please sign in to comment.