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
This commit is contained in:
ThomasV 2020-06-19 12:01:18 +02:00
parent 4344ca47b3
commit aacddf008c

View file

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