docs: fixed traceTransaction with custom tracer example (#19512)

Fixed traceTransacion with custom tracer example.
This commit is contained in:
Ayushya Chitransh 2019-05-07 13:05:34 +05:30 committed by Martin Holst Swende
parent 06cb6ae975
commit fa1bc98763
1 changed files with 2 additions and 2 deletions

View File

@ -787,7 +787,7 @@ Note that several values are Golang big.Int objects, not JavaScript numbers or J
Usage example, returns the top element of the stack at each CALL opcode only:
debug.traceTransaction(txhash, {tracer: '{data: [], step: function(log) { if(log.op.toString() == "CALL") this.data.push(log.stack.peek(0)); }, result: function() { return this.data; }}'});
debug.traceTransaction(txhash, {tracer: '{data: [], fault: function(log) {}, step: function(log) { if(log.op.toString() == "CALL") this.data.push(log.stack.peek(0)); }, result: function() { return this.data; }}'});
### debug_verbosity