From c3f74420a4db3bd39e94b6b88c312a82ecf64703 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 2 Apr 2014 19:18:14 +0200 Subject: [PATCH] add OP_EQUAL to txapi parser --- trezorlib/tx_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trezorlib/tx_api.py b/trezorlib/tx_api.py index 7f4aa5d90..6fc8ef004 100644 --- a/trezorlib/tx_api.py +++ b/trezorlib/tx_api.py @@ -28,6 +28,8 @@ def opcode_serialize(opcode): return '\x76' if opcode == 'OP_HASH160': return '\xa9' + if opcode == 'OP_EQUAL': + return '\x87' if opcode == 'OP_EQUALVERIFY': return '\x88' if opcode == 'OP_CHECKSIG':