fixing spacing

This commit is contained in:
Dustin Brickwood 2018-05-17 17:25:18 -04:00
parent 65a228204b
commit fff2271833

View file

@ -249,6 +249,7 @@ func SetupGenesisBlock(db ethdb.Database, genesis *Genesis, sqldb *sql.DB) (*par
if genesis != nil && genesis.Config == nil {
return params.AllEthashProtocolChanges, common.Hash{}, errGenesisNoConfig
}
// Just commit the new block if there is no stored genesis block.
stored := GetCanonicalHash(db, 0)
if (stored == common.Hash{}) {