Moving closer to interop

This commit is contained in:
obscuren
2014-06-14 11:46:09 +02:00
parent 8124547348
commit 63883bf27d
6 changed files with 25 additions and 12 deletions

View File

@ -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))
}