Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detail: remove some dead code #560

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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