mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
channeld: exit after shutdown when no more HTLCs.
Ready for the introduction of closingd. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -371,6 +371,12 @@ bool channel_sending_revoke_and_ack(struct channel *channel);
|
||||
*/
|
||||
bool channel_awaiting_revoke_and_ack(const struct channel *channel);
|
||||
|
||||
/**
|
||||
* channel_has_htlcs: are there any HTLCs at all in channel?
|
||||
* @channel: the channel
|
||||
*/
|
||||
bool channel_has_htlcs(const struct channel *channel);
|
||||
|
||||
/**
|
||||
* channel_force_htlcs: force these htlcs into the (new) channel
|
||||
* @channel: the channel
|
||||
|
||||
Reference in New Issue
Block a user