less strict ArgsCheck
Less strict ArgsCheck
This commit is contained in:
parent
38dc034499
commit
a0b25b9136
@ -701,7 +701,7 @@ var walletMarketAdd = &cli.Command{
|
|||||||
afmt := NewAppFmt(cctx.App)
|
afmt := NewAppFmt(cctx.App)
|
||||||
|
|
||||||
// Get amount param
|
// Get amount param
|
||||||
if cctx.NArg() != 1 {
|
if cctx.NArg() < 1 {
|
||||||
return IncorrectNumArgs(cctx)
|
return IncorrectNumArgs(cctx)
|
||||||
}
|
}
|
||||||
f, err := types.ParseFIL(cctx.Args().First())
|
f, err := types.ParseFIL(cctx.Args().First())
|
||||||
|
Loading…
Reference in New Issue
Block a user