electrum

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

commit dbdabcfc5d65e4b3a3c7232c44bc2f63d2b9e53b
parent b3dad9480cb0af5d2d79ad8d3cb977f143215778
Author: Janus <ysangkok@gmail.com>
Date:   Tue, 26 Jun 2018 19:45:13 +0200

ln: use new non-classmethod add_signature_to_txin

Diffstat:
Mlib/lnworker.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/lnworker.py b/lib/lnworker.py @@ -232,7 +232,6 @@ class LNWorker(PrintError): remote_sig = chan.local_state.current_commitment_signature remote_sig = der_sig_from_sig_string(remote_sig) + b"\x01" none_idx = tx._inputs[0]["signatures"].index(None) - Transaction.add_signature_to_txin(tx._inputs[0], none_idx, bh2u(remote_sig)) - tx.raw = None # trigger reserialization + tx.add_signature_to_txin(0, none_idx, bh2u(remote_sig)) assert tx.is_complete() return self.network.broadcast_transaction(tx)