remove commented code

pull/3068/head
yann300 2 years ago
parent 24b1495132
commit 0877347a8d
  1. 9
      libs/remix-debug/src/solidity-decoder/internalCallTree.ts

@ -335,15 +335,6 @@ async function registerFunctionParameters (tree, functionDefinition, step, scope
if (functionDefinition.parameters) {
const inputs = functionDefinition.parameters
const outputs = functionDefinition.returnParameters
// for (const element of functionDefinition.parameters) {
// if (element.nodeType === 'ParameterList') {
// if (!inputs) inputs = element
// else {
// outputs = element
// break
// }
// }
// }
// input params
if (inputs && inputs.parameters) {
functionDefinitionAndInputs.inputs = addParams(inputs, tree, scopeId, states, contractObj, sourceLocation, stack.length, inputs.parameters.length, -1)

Loading…
Cancel
Save