fix resolving sha3 input

pull/7/head
yann300 7 years ago
parent a01abbc04d
commit b1081fe1c6
  1. 2
      remix-lib/src/web3Provider/web3VmProvider.js

@ -270,7 +270,7 @@ function getSha3Input (stack, memory) {
memoryLength = parseInt(memLengthDec) * 2
var i = Math.floor(memoryStart / 32)
var maxIndex = Math.floor(memoryLength / 32)
var maxIndex = Math.floor(memoryLength / 32) + i
if (!memory[i]) {
return emptyFill(memoryLength)
}

Loading…
Cancel
Save