mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
closing: don't go into temporary failure because we completed negotiation.
It only lasts until the next block, but it's weird. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
72c459dd6c
commit
9430a455ff
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ static void peer_closing_complete(struct channel *channel, const u8 *msg)
|
|||
return;
|
||||
}
|
||||
|
||||
/* Don't report spurious failure when closingd exits. */
|
||||
channel_set_owner(channel, NULL);
|
||||
/* Clear any transient negotiation messages */
|
||||
channel_set_billboard(channel, false, NULL);
|
||||
|
||||
/* Retransmission only, ignore closing. */
|
||||
if (channel->state == CLOSINGD_COMPLETE)
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue