aboutsummaryrefslogtreecommitdiffstats
path: root/core/state_processor.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-09-14 15:07:31 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-09-14 15:10:46 +0800
commit5bbd7fb390a539a7183bccc5f2b75b4e564ed398 (patch)
tree1c13d07970c559b460e83d686ce71cbb484de2ab /core/state_processor.go
parent79b11121a7e4beef0d0297894289200b9842c36c (diff)
downloadgo-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar
go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.gz
go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.bz2
go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.lz
go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.xz
go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.zst
go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.zip
consensus, core, params: rebrand Metro to Byzantium
Diffstat (limited to 'core/state_processor.go')
-rw-r--r--core/state_processor.go2
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()