diff options
author | Peter Pratscher <pratscher@gmail.com> | 2016-01-29 02:21:05 +0800 |
---|---|---|
committer | Peter Pratscher <pratscher@gmail.com> | 2016-02-02 22:20:18 +0800 |
commit | 15780ead07e650e829a5756857fdbb4e2871356a (patch) | |
tree | 8aa79fbdab3c5846d98fa3b19c2e567ece300cff /core/vm/vm.go | |
parent | 528dcc3814aa1ee5bfcf3812aa4085f45a6623c4 (diff) | |
download | dexon-15780ead07e650e829a5756857fdbb4e2871356a.tar dexon-15780ead07e650e829a5756857fdbb4e2871356a.tar.gz dexon-15780ead07e650e829a5756857fdbb4e2871356a.tar.bz2 dexon-15780ead07e650e829a5756857fdbb4e2871356a.tar.lz dexon-15780ead07e650e829a5756857fdbb4e2871356a.tar.xz dexon-15780ead07e650e829a5756857fdbb4e2871356a.tar.zst dexon-15780ead07e650e829a5756857fdbb4e2871356a.zip |
core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, integrated feedback
Integrated code review suggestions
Integrated last review comments
Diffstat (limited to 'core/vm/vm.go')
-rw-r--r-- | core/vm/vm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/vm.go b/core/vm/vm.go index 8e07aaa89..0c6bbcd42 100644 --- a/core/vm/vm.go +++ b/core/vm/vm.go @@ -367,7 +367,7 @@ func (self *Vm) RunPrecompiled(p *PrecompiledAccount, input []byte, contract *Co // log emits a log event to the environment for each opcode encountered. This is not to be confused with the // LOG* opcode. func (self *Vm) log(pc uint64, op OpCode, gas, cost *big.Int, memory *Memory, stack *stack, contract *Contract, err error) { - if Debug { + if Debug || GenerateStructLogs { mem := make([]byte, len(memory.Data())) copy(mem, memory.Data()) |