do not include 'force_closing' in channel states, because it is not part of the peer protocol
This commit is contained in:
@@ -1342,7 +1342,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)
|
||||
cs_payload = await asyncio.wait_for(self.closing_signed[chan.channel_id].get(), 1)
|
||||
cs_payload = await asyncio.wait_for(self.closing_signed[chan.channel_id].get(), 10)
|
||||
their_fee = int.from_bytes(cs_payload['fee_satoshis'], 'big')
|
||||
their_sig = cs_payload['signature']
|
||||
if our_fee == their_fee:
|
||||
|
||||
Reference in New Issue
Block a user