channel: save the fact that funding_locked was rcvd to disk

I think this was an oversight?
This commit is contained in:
niftynei
2020-12-10 14:03:41 -06:00
committed by Christian Decker
parent 9cb2a15858
commit 3e9f60011e

View File

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