aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/asm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-18 06:25:58 +0800
committerobscuren <geffobscura@gmail.com>2014-06-18 06:25:58 +0800
commit8a885c2606fbf675770cf40b31f9ceb5ef8acae9 (patch)
tree35765088a8ed14c9272837a4963dfdfd77ac858a /ethchain/asm.go
parentca79360fd7621a96382c0304e74e0d1f39b739fc (diff)
downloaddexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.tar
dexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.tar.gz
dexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.tar.bz2
dexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.tar.lz
dexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.tar.xz
dexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.tar.zst
dexon-8a885c2606fbf675770cf40b31f9ceb5ef8acae9.zip
Fixed GT and LT
Diffstat (limited to 'ethchain/asm.go')
-rw-r--r--ethchain/asm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/asm.go b/ethchain/asm.go
index c267f9b55..277326ff9 100644
--- a/ethchain/asm.go
+++ b/ethchain/asm.go
@@ -28,7 +28,7 @@ func Disassemble(script []byte) (asm []string) {
if len(data) == 0 {
data = []byte{0}
}
- asm = append(asm, fmt.Sprintf("%#x", data))
+ asm = append(asm, fmt.Sprintf("0x%x", data))
pc.Add(pc, big.NewInt(a-1))
}