linting fix

pull/5370/head
aniket-engg 5 years ago committed by Aniket
parent 9a4f38c80f
commit 5ec66cf464
  1. 6
      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)
}
}

Loading…
Cancel
Save