Push 0 on internal revert (#830)
This commit is contained in:
parent
2eb002593e
commit
d1051f6c84
@ -2493,6 +2493,7 @@ class EVMWorld(Platform):
|
||||
raise TerminateState("REVERT", testcase=True)
|
||||
|
||||
self.current.last_exception = None
|
||||
self.current._push(0)
|
||||
# we are still on the CALL/CREATE
|
||||
self.current.pc += self.current.instruction.size
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user