aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 06627416d..fcbea04a2 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -285,7 +285,7 @@ func New(config *Config) (*Ethereum, error) {
}
eth.pow = ethash.New()
- genesis := core.GenesisBlock(uint64(config.GenesisNonce), blockDb)
+ genesis := core.GenesisBlock(uint64(config.GenesisNonce), stateDb)
eth.chainManager, err = core.NewChainManager(genesis, blockDb, stateDb, eth.pow, eth.EventMux())
if err != nil {
return nil, err