Remove args check

Remove args check in `lotus chain set`
This commit is contained in:
Phi 2023-05-03 17:56:34 +02:00
parent 3ff8a09183
commit f094e61b4a

View File

@ -388,10 +388,6 @@ var ChainSetHeadCmd = &cli.Command{
defer closer()
ctx := ReqContext(cctx)
if cctx.NArg() != 1 {
return IncorrectNumArgs(cctx)
}
var ts *types.TipSet
if cctx.Bool("genesis") {