From fff2271833b633cddfa81bd1080a53cef656dc49 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Thu, 17 May 2018 17:25:18 -0400 Subject: [PATCH] fixing spacing --- core/genesis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/genesis.go b/core/genesis.go index 1e39bfa094..b7aac23d53 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -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{}) {