fixes #424
This commit is contained in:
parent
1fb9e07e96
commit
93f6b99087
|
@ -203,7 +203,7 @@ op sha3, inline = true, startPos, length:
|
|||
|
||||
computation.memory.extend(pos, len)
|
||||
let endRange = min(pos + len, computation.memory.len) - 1
|
||||
if endRange == -1:
|
||||
if endRange == -1 or pos >= computation.memory.len:
|
||||
push(EMPTY_SHA3)
|
||||
else:
|
||||
push:
|
||||
|
|
Loading…
Reference in New Issue