channel_control: rename record_channel_open + expose

This commit is contained in:
niftynei
2020-11-23 19:25:54 -06:00
committed by Christian Decker
parent c5e28e4746
commit bdf7f250de
2 changed files with 5 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ void notify_feerate_change(struct lightningd *ld)
}
}
static void record_channel_open(struct channel *channel)
void channel_record_open(struct channel *channel)
{
struct chain_coin_mvt *mvt;
struct amount_msat channel_open_amt;
@@ -146,7 +146,7 @@ static void lockin_complete(struct channel *channel)
/* Fees might have changed (and we use IMMEDIATE once we're funded),
* so update now. */
try_update_feerates(channel->peer->ld, channel);
record_channel_open(channel);
channel_record_open(channel);
}
bool channel_on_funding_locked(struct channel *channel,