From ed7453baae966284afcc92d55b3f39c36a1bcacc Mon Sep 17 00:00:00 2001 From: Martichou Date: Thu, 22 Feb 2024 22:36:25 +0100 Subject: [PATCH] fix: only handle own id for inbound channel Signed-off-by: Martichou --- core_lib/src/hdl/inbound.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core_lib/src/hdl/inbound.rs b/core_lib/src/hdl/inbound.rs index 5b1c44f..c1f7169 100644 --- a/core_lib/src/hdl/inbound.rs +++ b/core_lib/src/hdl/inbound.rs @@ -81,6 +81,10 @@ impl InboundRequest { return Ok(()); } + if channel_msg.id != self.state.id { + return Ok(()); + } + debug!("inbound: got: {:?}", channel_msg); match channel_msg.action { Some(ChannelAction::AcceptTransfer) => {