Browse Source

channel: save the fact that funding_locked was rcvd to disk

I think this was an oversight?
ppa
niftynei 4 years ago
committed by Christian Decker
parent
commit
3e9f60011e
  1. 3
      lightningd/channel_control.c

3
lightningd/channel_control.c

@ -191,6 +191,9 @@ static void peer_got_funding_locked(struct channel *channel, const u8 *msg)
if (channel->scid) if (channel->scid)
lockin_complete(channel); 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) static void peer_got_announcement(struct channel *channel, const u8 *msg)

Loading…
Cancel
Save