mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
channel: save the fact that funding_locked was rcvd to disk
I think this was an oversight?
This commit is contained in:
committed by
Christian Decker
parent
9cb2a15858
commit
3e9f60011e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user