From 13c8d4e3fd26b475bfd1381dd6991abf2ee45f43 Mon Sep 17 00:00:00 2001 From: Nick DeLuca Date: Mon, 19 Oct 2020 09:57:42 -0500 Subject: [PATCH] cdp withdraw takes 3 args (#696) --- x/cdp/client/cli/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/cdp/client/cli/tx.go b/x/cdp/client/cli/tx.go index 5dcc199d..0ce5c82d 100644 --- a/x/cdp/client/cli/tx.go +++ b/x/cdp/client/cli/tx.go @@ -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)