diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-10-31 19:07:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-31 19:07:43 +0800 |
commit | 4dc1fb923ab77fe564bdda25f36744dffa235045 (patch) | |
tree | ce6de64598f42416dbffc1dff24904429f92031c /internal | |
parent | b8dec948d4d7d8257e63aeecf982c25aeec9a180 (diff) | |
parent | bb6115b737a05e3b8bf70ff2ad74c703589627cb (diff) | |
download | dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.tar dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.tar.gz dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.tar.bz2 dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.tar.lz dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.tar.xz dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.tar.zst dexon-4dc1fb923ab77fe564bdda25f36744dffa235045.zip |
Merge pull request #3064 from pirapira/limit_struct_logs
core/vm: add limit option to LogConfig
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/tracer.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/ethapi/tracer.go b/internal/ethapi/tracer.go index 16ec6ebf0..c6d4f814e 100644 --- a/internal/ethapi/tracer.go +++ b/internal/ethapi/tracer.go @@ -278,7 +278,7 @@ func wrapError(context string, err error) error { } // CaptureState implements the Tracer interface to trace a single step of VM execution -func (jst *JavascriptTracer) CaptureState(env vm.Environment, pc uint64, op vm.OpCode, gas, cost *big.Int, memory *vm.Memory, stack *vm.Stack, contract *vm.Contract, depth int, err error) { +func (jst *JavascriptTracer) CaptureState(env vm.Environment, pc uint64, op vm.OpCode, gas, cost *big.Int, memory *vm.Memory, stack *vm.Stack, contract *vm.Contract, depth int, err error) error { if jst.err == nil { jst.memory.memory = memory jst.stack.stack = stack @@ -301,6 +301,7 @@ func (jst *JavascriptTracer) CaptureState(env vm.Environment, pc uint64, op vm.O jst.err = wrapError("step", err) } } + return nil } // GetResult calls the Javascript 'result' function and returns its value, or any accumulated error |