electrum

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

commit aacddf008c8812b77f2cfeb5cb1d618f6e8fbc8e
parent 4344ca47b3af998fa1e260f66711b8eda62bab67
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 19 Jun 2020 12:01:18 +0200

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

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

diff --git 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,