1
0

fix is_complete: count number of valid signatures

This commit is contained in:
ThomasV
2013-02-23 17:36:32 +01:00
parent 30b6d9b64e
commit a0455725bd
2 changed files with 6 additions and 13 deletions

View File

@@ -240,7 +240,7 @@ def parse_redeemScript(bytes):
match = [ opcodes.OP_2, opcodes.OP_PUSHDATA4, opcodes.OP_PUSHDATA4, opcodes.OP_PUSHDATA4, opcodes.OP_3, opcodes.OP_CHECKMULTISIG ]
if match_decoded(dec, match):
pubkeys = [ dec[1][1].encode('hex'), dec[2][1].encode('hex'), dec[3][1].encode('hex') ]
return 3, pubkeys
return 2, pubkeys