diff --git a/libs/remix-debug/src/debugger/solidityLocals.js b/libs/remix-debug/src/debugger/solidityLocals.js index 4e04af9e79..f88d74249b 100644 --- a/libs/remix-debug/src/debugger/solidityLocals.js +++ b/libs/remix-debug/src/debugger/solidityLocals.js @@ -34,7 +34,7 @@ class DebuggerSolidityLocals { this.traceManager.waterfall([ this.traceManager.getStackAt, this.traceManager.getMemoryAt, - function getCurrentCalledAddressAt (stepIndex, next) { + (stepIndex, next) => { try { const address = this.traceManager.getCurrentCalledAddressAt(stepIndex) next(null, address)