diff options
Diffstat (limited to 'core/headerchain.go')
-rw-r--r-- | core/headerchain.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/headerchain.go b/core/headerchain.go index 57da9771b..e7660cc60 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -97,12 +97,7 @@ func NewHeaderChain(chainDb ethdb.Database, config *params.ChainConfig, getValid hc.genesisHeader = hc.GetHeaderByNumber(0) if hc.genesisHeader == nil { - genesisBlock, err := WriteDefaultGenesisBlock(chainDb) - if err != nil { - return nil, err - } - log.Warn("Wrote default Ethereum genesis block") - hc.genesisHeader = genesisBlock.Header() + return nil, ErrNoGenesis } hc.currentHeader = hc.genesisHeader |