accounts, core, eth: pass chain config for chain maker to test DAO

This commit is contained in:
Péter Szilágyi
2016-07-15 16:52:55 +03:00
parent 461cdb593b
commit 3291235711
16 changed files with 181 additions and 132 deletions
+1 -1
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)
}