diff --git a/lib/transaction.py b/lib/transaction.py index 030a0612c..4bc391591 100644 --- a/lib/transaction.py +++ b/lib/transaction.py @@ -410,7 +410,7 @@ def parse_scriptSig(d, bytes): return d['x_pubkeys'] = x_pubkeys - pubkeys = map(parse_xpub, x_pubkeys) + pubkeys = map(lambda x: parse_xpub(x)[0], x_pubkeys) d['pubkeys'] = pubkeys redeemScript = Transaction.multisig_script(pubkeys,2) d['redeemScript'] = redeemScript