diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-30 23:17:56 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-30 23:17:56 +0800 |
commit | 2ebf33ac1cd41277a296176198cfde9085948c0c (patch) | |
tree | 351b9e416789ef8f7ee7dcc5ac0656f84732beb1 | |
parent | 788d812a720aef2805504381c133f3d607c17f8b (diff) | |
download | go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.tar go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.tar.gz go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.tar.bz2 go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.tar.lz go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.tar.xz go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.tar.zst go-tangerine-2ebf33ac1cd41277a296176198cfde9085948c0c.zip |
removed variable
-rw-r--r-- | vm/vm_debug.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go index 2ee13c516..9a538c940 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -713,15 +713,11 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price * // 0x50 range case PUSH1, PUSH2, PUSH3, PUSH4, PUSH5, PUSH6, PUSH7, PUSH8, PUSH9, PUSH10, PUSH11, PUSH12, PUSH13, PUSH14, PUSH15, PUSH16, PUSH17, PUSH18, PUSH19, PUSH20, PUSH21, PUSH22, PUSH23, PUSH24, PUSH25, PUSH26, PUSH27, PUSH28, PUSH29, PUSH30, PUSH31, PUSH32: - //a := big.NewInt(int64(op) - int64(PUSH1) + 1) a := uint64(op - PUSH1 + 1) - //pc.Add(pc, ethutil.Big1) byts := closure.GetRangeValue(pc+1, a) - val := ethutil.BigD(byts) // Push value to stack - stack.Push(val) + stack.Push(ethutil.BigD(byts)) pc += a - //pc.Add(pc, a.Sub(a, big.NewInt(1))) step += int(op) - int(PUSH1) + 1 |