consensus, core, params: rebrand Metro to Byzantium

This commit is contained in:
Péter Szilágyi
2017-09-14 10:07:31 +03:00
parent 79b11121a7
commit 5bbd7fb390
12 changed files with 86 additions and 86 deletions

View File

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