Skip to content

Commit 3d7afdc

Browse files
authored
remove duplicate call (#594)
1 parent 4d92d24 commit 3d7afdc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/genesis.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,6 @@ func SetupGenesisBlockWithOverride(db ethdb.Database, triedb *triedb.Database, g
490490
return nil, common.Hash{}, nil, err
491491
}
492492

493-
// Sanity-check the new configuration.
494-
if err := newCfg.CheckConfigForkOrder(); err != nil {
495-
return nil, common.Hash{}, nil, err
496-
}
497-
498493
// OP-Stack note: Always apply overrides.
499494
// The genesis function arg may be nil, and stored-config may be non-nil at the same time.
500495
// This is important to apply superchain-upgrades to existing DBs, where the network CLI flag is not used.

0 commit comments

Comments
 (0)