From aacddf008c8812b77f2cfeb5cb1d618f6e8fbc8e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 19 Jun 2020 12:01:18 +0200 Subject: [PATCH] trigger_force_close: set my_current_per_commitment_point to a valid point We could as well derive the point from our channel_seed and ctn=0, but that seems unnecessary. Related: #6241 --- electrum/lnpeer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index aef27b7a7..87704c7af 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -771,7 +771,7 @@ class Peer(Logger): async def trigger_force_close(self, channel_id): await self.initialized - latest_point = 0 + latest_point = secret_to_pubkey(42) # we need a valid point (BOLT2) self.send_message( "channel_reestablish", channel_id=channel_id,