[release/1.4.10] accounts, core, eth: pass chain config for chain maker to test DAO

(cherry picked from commit 3291235711)
This commit is contained in:
Péter Szilágyi
2016-07-14 18:17:03 +03:00
parent 14bad7e212
commit b8c0883770
17 changed files with 182 additions and 133 deletions

View File

@ -66,7 +66,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
allLogs vm.Logs
gp = new(GasPool).AddGas(block.GasLimit())
)
// Mutate the statedb according to any hard-fork specs
// Mutate the the block and state according to any hard-fork specs
if p.config.DAOForkSupport && p.config.DAOForkBlock != nil && p.config.DAOForkBlock.Cmp(block.Number()) == 0 {
ApplyDAOHardFork(statedb)
}