From 34a1fe217bf1eb0b3dfd74987427b451e4d8ce9b Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 13 Apr 2017 12:17:22 +0200 Subject: [PATCH] fix locals --- src/solidity/localDecoder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solidity/localDecoder.js b/src/solidity/localDecoder.js index 9428c65372..650f5bcad3 100644 --- a/src/solidity/localDecoder.js +++ b/src/solidity/localDecoder.js @@ -10,7 +10,7 @@ async function solidityLocals (vmtraceIndex, internalTreeCall, stack, memory, st memory = formatMemory(memory) var anonymousIncr = 1 for (var local in scope.locals) { - let variable = scope.locals[local] + var variable = scope.locals[local] if (variable.stackDepth < stack.length && variable.sourceLocation.start <= currentSourceLocation.start) { var name = variable.name if (name === '') {