diff --git a/core/genesis.go b/core/genesis.go index 18aa1bbd4f..6e71afd61c 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -176,9 +176,8 @@ func SetupGenesisBlock(db ethdb.Database, genesis *Genesis) (*params.ChainConfig } } - // Get the new chain configuration for genesis block. + // Get the existing chain configuration. newcfg := genesis.configOrDefault(stored) - // Get the existing chain configuration for genesis block. storedcfg := rawdb.ReadChainConfig(db, stored) if storedcfg == nil { log.Warn("Found genesis block without chain config")