fix an error in msigLockCancel

This commit is contained in:
IPFSUnion 2021-06-24 14:07:15 +08:00
parent ae38dfe3b9
commit 7c07dc9ed1

View File

@ -1428,7 +1428,7 @@ var msigLockCancelCmd = &cli.Command{
},
},
Action: func(cctx *cli.Context) error {
if cctx.Args().Len() != 6 {
if cctx.Args().Len() != 5 {
return ShowHelp(cctx, fmt.Errorf("must pass multisig address, tx id, start epoch, unlock duration, and amount"))
}