From 5e5bca6340c458af4bb3b95031a99700ab8bd8bd Mon Sep 17 00:00:00 2001 From: draoi Date: Tue, 23 Jul 2024 11:11:41 +0200 Subject: [PATCH] rpc: add SESSION_REFINE to channel matching in p2p_method() --- src/rpc/p2p_method.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/p2p_method.rs b/src/rpc/p2p_method.rs index 651cfc678..c1fc63756 100644 --- a/src/rpc/p2p_method.rs +++ b/src/rpc/p2p_method.rs @@ -33,6 +33,7 @@ pub trait HandlerP2p: Sync + Send { net::session::SESSION_INBOUND => "inbound", net::session::SESSION_OUTBOUND => "outbound", net::session::SESSION_MANUAL => "manual", + net::session::SESSION_REFINE => "refine", net::session::SESSION_SEED => "seed", _ => panic!("invalid result from channel.session_type_id()"), };