diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-31 00:09:43 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-31 00:09:43 +0800 |
commit | 138ab26b8c29db00022fb6afbca153f3c1928d00 (patch) | |
tree | 09b0e180b40c653cf307369232b91503453db2d3 /vm | |
parent | cc5e621fc4d80269c335001528667e668ae267ee (diff) | |
download | dexon-138ab26b8c29db00022fb6afbca153f3c1928d00.tar.gz dexon-138ab26b8c29db00022fb6afbca153f3c1928d00.tar.zst dexon-138ab26b8c29db00022fb6afbca153f3c1928d00.zip |
SIGNEXTEND missing from stack check
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go index 2ee13c516..a4e97ad48 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -140,7 +140,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price * // Stack checks only case ISZERO, CALLDATALOAD, POP, JUMP, NOT: // 1 require(1) - case ADD, SUB, DIV, SDIV, MOD, SMOD, LT, GT, SLT, SGT, EQ, AND, OR, XOR, BYTE: // 2 + case ADD, SUB, DIV, SDIV, MOD, SMOD, LT, GT, SLT, SGT, EQ, AND, OR, XOR, BYTE, SIGNEXTEND: // 2 require(2) case ADDMOD, MULMOD: // 3 require(3) |