From f094e61b4a1c417701bc72da36f576d73eb64a4f Mon Sep 17 00:00:00 2001 From: Phi Date: Wed, 3 May 2023 17:56:34 +0200 Subject: [PATCH] Remove args check Remove args check in `lotus chain set` --- cli/chain.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cli/chain.go b/cli/chain.go index 4344b0773..f3305a667 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -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") {