Skip to content

Commit

Permalink
Fix to process notification channel messages as inbound messages (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
netsirius authored Sep 29, 2024
1 parent 630d76c commit cf69578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/node/network_bridge/p2p_protoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ impl P2pConnManager {
msg: Option<Either<NetMessage, NodeEvent>>,
) -> EventResult {
match msg {
Some(Left(msg)) => EventResult::Event(ConnEvent::OutboundMessage(msg)),
Some(Left(msg)) => EventResult::Event(ConnEvent::InboundMessage(msg)),
Some(Right(action)) => EventResult::Event(ConnEvent::NodeAction(action)),
None => EventResult::Continue,
}
Expand Down

0 comments on commit cf69578

Please sign in to comment.