mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
lightningd: add channel_closed helper, expose find_channel_by_id().
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -788,8 +788,8 @@ void channel_notify_new_block(struct lightningd *ld,
|
||||
tal_free(to_forget);
|
||||
}
|
||||
|
||||
static struct channel *find_channel_by_id(const struct peer *peer,
|
||||
const struct channel_id *cid)
|
||||
struct channel *find_channel_by_id(const struct peer *peer,
|
||||
const struct channel_id *cid)
|
||||
{
|
||||
struct channel *c;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user