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:
Łukasz Magiera 2020-03-31 20:38:29 +02:00 committed by GitHub
commit 16cc3e94ac

View File

@ -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")
}