Push 0 on internal revert (#830)

This commit is contained in:
feliam 2018-03-20 14:30:09 -03:00 committed by GitHub
parent 2eb002593e
commit d1051f6c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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