tadd comment about minor issue with closing_signed - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a1b8c8e54e4fc0b794ea5c07116d837d89e70df5 DIR parent bb94712a1490399d49bca812bd95ff3859b07b24 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 21 Feb 2020 18:30:59 +0100 add comment about minor issue with closing_signed Diffstat: M electrum/lnpeer.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py t@@ -1393,6 +1393,7 @@ class Peer(Logger): while True: our_sig, closing_tx = chan.make_closing_tx(scriptpubkey, payload['scriptpubkey'], fee_sat=our_fee) self.send_message('closing_signed', channel_id=chan.channel_id, fee_satoshis=our_fee, signature=our_sig) + # FIXME: the remote SHOULD send closing_signed, but some don't. cs_payload = await asyncio.wait_for(self.closing_signed[chan.channel_id].get(), LN_P2P_NETWORK_TIMEOUT) their_fee = int.from_bytes(cs_payload['fee_satoshis'], 'big') their_sig = cs_payload['signature']