diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-09-14 15:07:31 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-09-14 15:10:46 +0800 |
commit | 5bbd7fb390a539a7183bccc5f2b75b4e564ed398 (patch) | |
tree | 1c13d07970c559b460e83d686ce71cbb484de2ab /core/state_processor.go | |
parent | 79b11121a7e4beef0d0297894289200b9842c36c (diff) | |
download | dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.gz dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.bz2 dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.lz dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.xz dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.zst dexon-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.zip |
consensus, core, params: rebrand Metro to Byzantium
Diffstat (limited to 'core/state_processor.go')
-rw-r--r-- | core/state_processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state_processor.go b/core/state_processor.go index 4115eab8c..689c83785 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -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() |