aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/blockchain.go')
-rw-r--r--core/blockchain.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index 5e1fc9424..5a6795b3e 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -149,11 +149,7 @@ func NewBlockChain(chainDb ethdb.Database, pow pow.PoW, mux *event.TypeMux) (*Bl
bc.genesisBlock = bc.GetBlockByNumber(0)
if bc.genesisBlock == nil {
- reader, err := NewDefaultGenesisReader()
- if err != nil {
- return nil, err
- }
- bc.genesisBlock, err = WriteGenesisBlock(chainDb, reader)
+ bc.genesisBlock, err = WriteDefaultGenesisBlock(chainDb)
if err != nil {
return nil, err
}