diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-09 17:36:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-09 17:37:01 +0800 |
commit | a5b977aa9042b8b5199067d435c5cbd3f6459834 (patch) | |
tree | 33b99a5baee2561407548142d191b27c3792c80d /eth/backend.go | |
parent | 0f1cdfa53ad445df7bf3aed281fc36e53ecbbfd4 (diff) | |
download | go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.tar go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.tar.gz go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.tar.bz2 go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.tar.lz go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.tar.xz go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.tar.zst go-tangerine-a5b977aa9042b8b5199067d435c5cbd3f6459834.zip |
core: write accounts to statedb. Closes #1210
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 2 |
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 |