diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-04 21:20:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-04 21:20:16 +0800 |
commit | 09841b1c9b2553a4572590128580df37c8fa83ad (patch) | |
tree | 42a846801bde7d8f7edc5ec07ccbba7806261128 /vm/vm_debug.go | |
parent | bd0c267cbe9db805b5a272d29ef8860c62ddafe5 (diff) | |
download | go-tangerine-09841b1c9b2553a4572590128580df37c8fa83ad.tar.gz go-tangerine-09841b1c9b2553a4572590128580df37c8fa83ad.tar.zst go-tangerine-09841b1c9b2553a4572590128580df37c8fa83ad.zip |
Cleaned up some of that util
Diffstat (limited to 'vm/vm_debug.go')
-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 acad9c5e7..92e4154e4 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -83,7 +83,7 @@ func (self *DebugVm) Run(me, caller ContextRef, code []byte, value, gas, price * jump = func(from uint64, to *big.Int) { p := to.Uint64() - nop := OpCode(context.GetOp(p)) + nop := context.GetOp(p) if !destinations.Has(p) { panic(fmt.Sprintf("invalid jump destination (%v) %v", nop, p)) } |