Skip to content

Commit

Permalink
less strict ArgsCheck
Browse files Browse the repository at this point in the history
Less strict ArgsCheck
  • Loading branch information
rjan90 committed Jan 26, 2023
1 parent 38dc034 commit a0b25b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit a0b25b9

Please sign in to comment.