Skip to content

Commit bf2c07f

Browse files
committed
1 parent 368aaeb commit bf2c07f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,9 @@ def parse_witness(vds, txin):
440440
if txin['type'] == 'coinbase':
441441
pass
442442
elif n > 2:
443-
txin['num_sig'] = n - 2
444443
txin['signatures'] = parse_sig(w[1:-1])
445444
m, n, x_pubkeys, pubkeys, witnessScript = parse_redeemScript(bfh(w[-1]))
445+
txin['num_sig'] = m
446446
txin['x_pubkeys'] = x_pubkeys
447447
txin['pubkeys'] = pubkeys
448448
txin['witnessScript'] = witnessScript

0 commit comments

Comments
 (0)