We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68e25c6 + a4f2c36 commit 2b04f19Copy full SHA for 2b04f19
lightning/src/onion_message/messenger.rs
@@ -914,7 +914,8 @@ where
914
fn peer_disconnected(&self, their_node_id: &PublicKey) {
915
match self.message_recipients.lock().unwrap().remove(their_node_id) {
916
Some(OnionMessageRecipient::ConnectedPeer(..)) => {},
917
- _ => debug_assert!(false),
+ Some(_) => debug_assert!(false),
918
+ None => {},
919
}
920
921
0 commit comments