revert comment modification back and align with master

This commit is contained in:
Lin Corey 2018-11-08 09:56:19 +08:00
parent 5d4baf2289
commit 2b4aa7d59c

View file

@ -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")