minor fix (parsing signatures)
This commit is contained in:
@@ -454,8 +454,8 @@ def parse_witness(vds, txin):
|
|||||||
txin['witnessScript'] = witnessScript
|
txin['witnessScript'] = witnessScript
|
||||||
else:
|
else:
|
||||||
txin['num_sig'] = 1
|
txin['num_sig'] = 1
|
||||||
txin['pubkeys'] = [ w[-1] ]
|
txin['pubkeys'] = [w[1]]
|
||||||
txin['signatures'] = parse_sig([w[:-1]])
|
txin['signatures'] = parse_sig([w[0]])
|
||||||
|
|
||||||
|
|
||||||
def parse_output(vds, i):
|
def parse_output(vds, i):
|
||||||
|
|||||||
Reference in New Issue
Block a user