less strict ArgsCheck

Less strict ArgsCheck
This commit is contained in:
Phi 2023-01-26 10:13:39 +01:00
parent 38dc034499
commit a0b25b9136

View File

@ -701,7 +701,7 @@ var walletMarketAdd = &cli.Command{
afmt := NewAppFmt(cctx.App)
// Get amount param
if cctx.NArg() != 1 {
if cctx.NArg() < 1 {
return IncorrectNumArgs(cctx)
}
f, err := types.ParseFIL(cctx.Args().First())