mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
closingd: retransmit shutdown on reconnect.
The spec says so, and it's right: with the right pattern of packet loss (thanks Travis!) the other end can still be in channeld, waiting for our `shutdown` message. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
d4f164eb39
commit
1935614979
@@ -236,7 +236,9 @@ void peer_start_closingd(struct channel *channel,
|
||||
channel->next_index[LOCAL],
|
||||
channel->next_index[REMOTE],
|
||||
num_revocations,
|
||||
channel_reestablish);
|
||||
channel_reestablish,
|
||||
p2wpkh_for_keyidx(tmpctx, ld,
|
||||
channel->final_key_idx));
|
||||
|
||||
/* We don't expect a response: it will give us feedback on
|
||||
* signatures sent and received, then closing_complete. */
|
||||
|
||||
Reference in New Issue
Block a user