mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
cdp withdraw takes 3 args (#696)
This commit is contained in:
parent
e333fe8c40
commit
13c8d4e3fd
@ -117,7 +117,7 @@ func GetCmdWithdraw(cdc *codec.Codec) *cobra.Command {
|
||||
Example:
|
||||
$ %s tx %s withdraw kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw 10000000uatom atom-a --from myKeyName
|
||||
`, version.ClientName, types.ModuleName)),
|
||||
Args: cobra.ExactArgs(2),
|
||||
Args: cobra.ExactArgs(3),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
inBuf := bufio.NewReader(cmd.InOrStdin())
|
||||
cliCtx := context.NewCLIContext().WithCodec(cdc)
|
||||
|
Loading…
Reference in New Issue
Block a user