aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/asm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-14 17:46:09 +0800
committerobscuren <geffobscura@gmail.com>2014-06-14 17:46:09 +0800
commit63883bf27d8b87f601e1603e9024a279b91bffb7 (patch)
treebe430bdebb7c73f761e9cded3f3600820dd8763c /ethchain/asm.go
parent81245473486dd680b7121d4b227ca8a57d07b4b1 (diff)
downloaddexon-63883bf27d8b87f601e1603e9024a279b91bffb7.tar
dexon-63883bf27d8b87f601e1603e9024a279b91bffb7.tar.gz
dexon-63883bf27d8b87f601e1603e9024a279b91bffb7.tar.bz2
dexon-63883bf27d8b87f601e1603e9024a279b91bffb7.tar.lz
dexon-63883bf27d8b87f601e1603e9024a279b91bffb7.tar.xz
dexon-63883bf27d8b87f601e1603e9024a279b91bffb7.tar.zst
dexon-63883bf27d8b87f601e1603e9024a279b91bffb7.zip
Moving closer to interop
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 277326ff9..c267f9b55 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("0x%x", data))
+ asm = append(asm, fmt.Sprintf("%#x", data))
pc.Add(pc, big.NewInt(a-1))
}