This commit is contained in:
weiihann 2024-02-28 16:12:45 +08:00
parent 3373cf8b13
commit ffda150885

View file

@ -515,7 +515,6 @@ func importPreimages(ctx *cli.Context) error {
}
func parseDumpConfig(ctx *cli.Context, stack *node.Node, db ethdb.Database) (*state.DumpConfig, common.Hash, error) {
var header *types.Header
if ctx.NArg() > 1 {
return nil, common.Hash{}, fmt.Errorf("expected 1 argument (number or hash), got %d", ctx.NArg())