electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 10b35e3545001f1e98f92942e7f7ba49e915c27a
parent 6b1d9ca315a031594adb1a2d619b94fceaf15157
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 17 Sep 2017 17:09:22 +0200

follow-up 0abb38cf51daca597997e7baaff5385659168bad

Diffstat:
Mlib/transaction.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/transaction.py b/lib/transaction.py @@ -650,7 +650,7 @@ class Transaction: n = len(sig_list) + 2 # fixme: witness script must be decided by wallet witness_script = multisig_script(pubkeys, txin['num_sig']) - return var_int(n) + '00' + ''.join(push_script(x) for x in sig_list) + push_script(witness_script) + return var_int(n) + '00' + ''.join(var_int(len(x)//2) + x for x in sig_list) + var_int(len(witness_script)//2) + witness_script @classmethod def is_segwit_input(self, txin):