Skip to content

Commit

Permalink
Disambiguate treasury withdrawal flags
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhammann committed Oct 17, 2023
1 parent 24d9819 commit 496f36c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,10 @@ pGovernanceActionTreasuryWithdrawalCmd era = do
Cmd.GovernanceActionTreasuryWithdrawalCmdArgs eon
<$> pNetwork
<*> pGovActionDeposit
<*> pAnyStakeIdentifier Nothing
<*> pAnyStakeIdentifier (Just "return")
<*> pProposalUrl
<*> pProposalHashSource
<*> many ((,) <$> pAnyStakeIdentifier Nothing <*> pTransferAmt) -- TODO we should likely pass a prefix here, becaus pAnyStakeIdentiefier is used twice
<*> many ((,) <$> pAnyStakeIdentifier (Just "withdrawal") <*> pTransferAmt)
<*> pFileOutDirection "out-file" "Output filepath of the treasury withdrawal."
)
$ Opt.progDesc "Create a treasury withdrawal."
Expand Down

0 comments on commit 496f36c

Please sign in to comment.