mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-26 10:55:41 +00:00
commit
05a5c3f40b
@ -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…
x
Reference in New Issue
Block a user