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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user