aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm
diff options
context:
space:
mode:
authorcdetrio <cdetrio@gmail.com>2017-09-22 16:22:56 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-09-22 16:22:56 +0800
commit673007d7aed1d2678ea3277eceb7b55dc29cf092 (patch)
tree8c65442124a473963113208bf109321c85d9c777 /cmd/evm
parentd558a595adf4e89bab5b28ffde1448dc1e5768b0 (diff)
downloaddexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar
dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.gz
dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.bz2
dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.lz
dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.xz
dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.zst
dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.zip
core/vm: standard vm traces (#15035)
Diffstat (limited to 'cmd/evm')
-rw-r--r--cmd/evm/json_logger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/evm/json_logger.go b/cmd/evm/json_logger.go
index 2cfeaa795..eb7b0c466 100644
--- a/cmd/evm/json_logger.go
+++ b/cmd/evm/json_logger.go
@@ -40,7 +40,7 @@ func (l *JSONLogger) CaptureState(env *vm.EVM, pc uint64, op vm.OpCode, gas, cos
log := vm.StructLog{
Pc: pc,
Op: op,
- Gas: gas + cost,
+ Gas: gas,
GasCost: cost,
MemorySize: memory.Len(),
Storage: nil,