Remove args check
Remove args check in `lotus chain set`
This commit is contained in:
parent
3ff8a09183
commit
f094e61b4a
@ -388,10 +388,6 @@ var ChainSetHeadCmd = &cli.Command{
|
|||||||
defer closer()
|
defer closer()
|
||||||
ctx := ReqContext(cctx)
|
ctx := ReqContext(cctx)
|
||||||
|
|
||||||
if cctx.NArg() != 1 {
|
|
||||||
return IncorrectNumArgs(cctx)
|
|
||||||
}
|
|
||||||
|
|
||||||
var ts *types.TipSet
|
var ts *types.TipSet
|
||||||
|
|
||||||
if cctx.Bool("genesis") {
|
if cctx.Bool("genesis") {
|
||||||
|
Loading…
Reference in New Issue
Block a user