aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm_debug.go')
-rw-r--r--vm/vm_debug.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go
index aa3291e66..2ee13c516 100644
--- a/vm/vm_debug.go
+++ b/vm/vm_debug.go
@@ -716,7 +716,8 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
//a := big.NewInt(int64(op) - int64(PUSH1) + 1)
a := uint64(op - PUSH1 + 1)
//pc.Add(pc, ethutil.Big1)
- val := ethutil.BigD(closure.GetRangeValue(pc+1, a))
+ byts := closure.GetRangeValue(pc+1, a)
+ val := ethutil.BigD(byts)
// Push value to stack
stack.Push(val)
pc += a
@@ -724,7 +725,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
step += int(op) - int(PUSH1) + 1
- self.Printf(" => 0x%x", val.Bytes())
+ self.Printf(" => 0x%x", byts)
case POP:
stack.Pop()
case DUP1, DUP2, DUP3, DUP4, DUP5, DUP6, DUP7, DUP8, DUP9, DUP10, DUP11, DUP12, DUP13, DUP14, DUP15, DUP16: