mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
handle_disable_channel: don't use get_connection_by_scid.
This removes the final user, so we remove it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
74ee448bda
commit
00194b6130
@@ -188,12 +188,6 @@ struct routing_channel *new_routing_channel(struct routing_state *rstate,
|
||||
const struct pubkey *id1,
|
||||
const struct pubkey *id2);
|
||||
|
||||
/* Given a short_channel_id, retrieve the matching connection, or NULL if it is
|
||||
* unknown. */
|
||||
struct node_connection *get_connection_by_scid(const struct routing_state *rstate,
|
||||
const struct short_channel_id *schanid,
|
||||
const u8 direction);
|
||||
|
||||
/* Handlers for incoming messages */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user