mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-26 03:22:25 +00:00
JUMPI never 'require' checked.
This commit is contained in:
parent
77924757a8
commit
4b4e082102
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
|
||||||
// Stack checks only
|
// Stack checks only
|
||||||
case ISZERO, CALLDATALOAD, POP, JUMP, NOT: // 1
|
case ISZERO, CALLDATALOAD, POP, JUMP, NOT: // 1
|
||||||
require(1)
|
require(1)
|
||||||
case ADD, SUB, DIV, SDIV, MOD, SMOD, LT, GT, SLT, SGT, EQ, AND, OR, XOR, BYTE, SIGNEXTEND: // 2
|
case JUMPI, ADD, SUB, DIV, SDIV, MOD, SMOD, LT, GT, SLT, SGT, EQ, AND, OR, XOR, BYTE, SIGNEXTEND: // 2
|
||||||
require(2)
|
require(2)
|
||||||
case ADDMOD, MULMOD: // 3
|
case ADDMOD, MULMOD: // 3
|
||||||
require(3)
|
require(3)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue