aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/gas_table.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/vm/gas_table.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/vm/gas_table.go')
-rw-r--r--core/vm/gas_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go
index 13712295c..0d8e295a5 100644
--- a/core/vm/gas_table.go
+++ b/core/vm/gas_table.go
@@ -324,7 +324,7 @@ func gasCall(gt params.GasTable, evm *EVM, contract *Contract, stack *Stack, mem
eip158 = evm.ChainConfig().IsEIP158(evm.BlockNumber)
)
if eip158 {
- if transfersValue && evm.StateDB.Empty(address) {
+ if transfersValue && evm.StateDB.Empty(address) {
gas += params.CallNewAccountGas
}
} else if !evm.StateDB.Exist(address) {