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

Fixed traceTransacion with custom tracer example.
pull/19636/head
Ayushya Chitransh 6 years ago committed by Martin Holst Swende
parent 06cb6ae975
commit fa1bc98763
  1. 4
      docs/_interface/Management-APIs.md

@ -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
@ -1329,4 +1329,4 @@ the number of transactions in that particular state.
pending: 10,
queued: 7
}
```
```

Loading…
Cancel
Save