aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
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
parentd558a595adf4e89bab5b28ffde1448dc1e5768b0 (diff)
downloadgo-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar
go-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.gz
go-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.bz2
go-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.lz
go-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.xz
go-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.zst
go-tangerine-673007d7aed1d2678ea3277eceb7b55dc29cf092.zip
core/vm: standard vm traces (#15035)
Diffstat (limited to 'cmd')
-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,