add OP_EQUAL to txapi parser

This commit is contained in:
Pavol Rusnak 2014-04-02 19:18:14 +02:00
parent e9dbedfd33
commit c3f74420a4
1 changed files with 2 additions and 0 deletions

View File

@ -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':