core: write accounts to statedb. Closes #1210

This commit is contained in:
obscuren
2015-06-09 11:36:23 +02:00
parent 0f1cdfa53a
commit a5b977aa90
2 changed files with 8 additions and 7 deletions

View File

@ -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