Browse Source

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
bip39-recovery
ThomasV 5 years ago
parent
commit
aacddf008c
  1. 2
      electrum/lnpeer.py

2
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,

Loading…
Cancel
Save