refactor getCallStackAt

pull/62/head
Iuri Matias 4 years ago committed by aniket-engg
parent 459e045e04
commit 74b2e29744
  1. 6
      libs/remix-lib/src/trace/traceManager.js

@ -112,9 +112,9 @@ TraceManager.prototype.buildCallPath = function (stepIndex, callback) {
}
TraceManager.prototype.getCallStackAt = function (stepIndex) {
try {
this.checkRequestedStep(stepIndex)
} catch (check) {
// this.checkRequestedStep(stepIndex)
const check = this.checkRequestedStep(stepIndex)
if (check) {
throw new Error(check)
}
const call = util.findCall(stepIndex, this.traceCache.callsTree.call)

Loading…
Cancel
Save