commit bd16e20a4d5705b8b957a9af8aa9ec83286b20af parent d9f2edf6b0c8d8e1b5219bfa5cfeac903b6a2561 Author: ThomasV <thomasv@electrum.org> Date: Sun, 3 Sep 2017 20:22:39 +0200 minor fix (parsing signatures) Diffstat:
M | lib/transaction.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/transaction.py b/lib/transaction.py @@ -454,8 +454,8 @@ def parse_witness(vds, txin): txin['witnessScript'] = witnessScript else: txin['num_sig'] = 1 - txin['pubkeys'] = [ w[-1] ] - txin['signatures'] = parse_sig([w[:-1]]) + txin['pubkeys'] = [w[1]] + txin['signatures'] = parse_sig([w[0]]) def parse_output(vds, i):