From 3e9f60011e319b72fd5be5e6d95aefac1524a06e Mon Sep 17 00:00:00 2001 From: niftynei Date: Thu, 10 Dec 2020 14:03:41 -0600 Subject: [PATCH] channel: save the fact that funding_locked was rcvd to disk I think this was an oversight? --- lightningd/channel_control.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightningd/channel_control.c b/lightningd/channel_control.c index 5f1e54466..bf1c917c3 100644 --- a/lightningd/channel_control.c +++ b/lightningd/channel_control.c @@ -191,6 +191,9 @@ static void peer_got_funding_locked(struct channel *channel, const u8 *msg) if (channel->scid) lockin_complete(channel); + else + /* Remember that we got the lockin */ + wallet_channel_save(channel->peer->ld->wallet, channel); } static void peer_got_announcement(struct channel *channel, const u8 *msg)