Commit b1081fe1 authored by yann300's avatar yann300

fix resolving sha3 input

parent a01abbc0
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment