Merge pull request #1478 from subvisual/pfac/testnet3-fix-deals-import-arg-check
Fix offline deal import command arguments check
This commit is contained in:
commit
16cc3e94ac
@ -58,7 +58,7 @@ var dealsImportDataCmd = &cli.Command{
|
||||
|
||||
ctx := lcli.DaemonContext(cctx)
|
||||
|
||||
if cctx.Args().Len() == 2 {
|
||||
if cctx.Args().Len() < 2 {
|
||||
return fmt.Errorf("must specify proposal CID and file path")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user