aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/blockchain.go')
-rw-r--r--core/blockchain.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index 04b154ade..c44d2633a 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -231,6 +231,10 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, chainConfig *par
}
}
}
+
+ // Set genesis round height mapping.
+ bc.roundHeightMap.Store(0, 0)
+
// Take ownership of this particular state
go bc.update()
return bc, nil