From 83aa1e2ed77e922240e1020335022771fee057cd Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 21 Nov 2022 13:39:12 +0100 Subject: [PATCH] rename --- libs/remix-debug/src/solidity-decoder/internalCallTree.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/remix-debug/src/solidity-decoder/internalCallTree.ts b/libs/remix-debug/src/solidity-decoder/internalCallTree.ts index 8a5756d1ed..b58f36c7a0 100644 --- a/libs/remix-debug/src/solidity-decoder/internalCallTree.ts +++ b/libs/remix-debug/src/solidity-decoder/internalCallTree.ts @@ -263,13 +263,13 @@ async function buildTree (tree, step, scopeId, isExternalCall, isCreation, funct const generatedSources = getGeneratedSources(tree, scopeId, contractObj) const functionDefinition = resolveFunctionDefinition(tree, sourceLocation, generatedSources) - const isCallInstrn = isCallInstruction(stepDetail) + const isInternalTxInstrn = isCallInstruction(stepDetail) const isCreateInstrn = isCreateInstruction(stepDetail) // we are checking if we are jumping in a new CALL or in an internal function - if (isCallInstrn || (previousSourceLocation.jump === 'i' && functionDefinition)) { + if (isInternalTxInstrn || (previousSourceLocation.jump === 'i' && functionDefinition)) { try { const newScopeId = scopeId === '' ? subScope.toString() : scopeId + '.' + subScope - const externalCallResult = await buildTree(tree, step, newScopeId , isCallInstrn, isCreateInstrn, functionDefinition, contractObj, sourceLocation) + const externalCallResult = await buildTree(tree, step, newScopeId, isInternalTxInstrn, isCreateInstrn, functionDefinition, contractObj, sourceLocation) if (externalCallResult.error) { return { outStep: step, error: 'InternalCallTree - ' + externalCallResult.error } } else {