Update internalCallTree.ts

pull/820/head
yann300 4 years ago
parent b4675032fc
commit 2a4f62566b
  1. 3
      libs/remix-debug/src/solidity-decoder/internalCallTree.ts

@ -108,8 +108,7 @@ export class InternalCallTree {
}
parentScope (scopeId) {
const matched = scopeId.match(/(.\d|\d)$/)
return scopeId.replace(matched[1], '')
return scopeId.replace(/(.\d|\d)$/, '')
}
findScopeId (vmtraceIndex) {

Loading…
Cancel
Save