From 89b76c6672553884cfc1c8a62f4cb1b5edc50e41 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 15 Jan 2020 17:04:09 +0530 Subject: [PATCH] linting fix --- remix-lib/src/trace/traceAnalyser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remix-lib/src/trace/traceAnalyser.js b/remix-lib/src/trace/traceAnalyser.js index f48c5077d3..b3b053dfc1 100644 --- a/remix-lib/src/trace/traceAnalyser.js +++ b/remix-lib/src/trace/traceAnalyser.js @@ -37,12 +37,12 @@ TraceAnalyser.prototype.buildReturnValues = function (index, step) { const memory = this.trace[this.traceCache.memoryChanges[this.traceCache.memoryChanges.length - 1]].memory const noOfReturnParams = size / 64 const memoryInString = memory.join('') - let returnParamsObj = []; - for(let i = 0; i < noOfReturnParams; i++){ + let returnParamsObj = [] + for (let i = 0; i < noOfReturnParams; i++) { returnParamsObj.push('0x' + memoryInString.substring(offset, offset + 64)) offset += 64 } - + this.traceCache.pushReturnValue(index, returnParamsObj) } }