mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 12:54:13 +00:00
fix comment to correctly reflect REVERT opcode
This commit is contained in:
parent
04bacca35c
commit
5d82493a9c
@ -762,7 +762,7 @@ op returnOp, inline = false, startPos, size:
|
||||
computation.output = computation.memory.read(pos, len)
|
||||
|
||||
op revert, inline = false, startPos, size:
|
||||
## 0xf0, Halt execution reverting state changes but returning data and remaining gas.
|
||||
## 0xfd, Halt execution reverting state changes but returning data and remaining gas.
|
||||
let (pos, len) = (startPos.toInt, size.toInt)
|
||||
|
||||
computation.gasMeter.consumeGas(
|
||||
|
Loading…
x
Reference in New Issue
Block a user