core/state: revert metro suicide map addition (#15024)

This commit is contained in:
Péter Szilágyi
2017-08-24 13:42:00 +03:00
committed by Felix Lange
parent 20b818d206
commit ff9a868232
4 changed files with 28 additions and 49 deletions

View File

@ -106,7 +106,7 @@ func ApplyTransaction(config *params.ChainConfig, bc *BlockChain, author *common
// Update the state with pending changes
var root []byte
if config.IsMetropolis(header.Number) {
statedb.Finalise()
statedb.Finalise(true)
} else {
root = statedb.IntermediateRoot(config.IsEIP158(header.Number)).Bytes()
}