Merge pull request #2035 from TheBlueMatt/2023-02-fix-no-con-discon
[rust-lightning] / lightning / src / onion_message / messenger.rs
index f7656e7949aa9df945010eadee9b0ba30eefb861..2c71e9c3fb34e2d15d13933dbf0e6b37a17f570a 100644 (file)
@@ -425,7 +425,7 @@ impl<ES: Deref, NS: Deref, L: Deref, CMH: Deref> OnionMessageHandler for OnionMe
                Ok(())
        }
 
-       fn peer_disconnected(&self, their_node_id: &PublicKey, _no_connection_possible: bool) {
+       fn peer_disconnected(&self, their_node_id: &PublicKey) {
                let mut pending_msgs = self.pending_messages.lock().unwrap();
                pending_msgs.remove(their_node_id);
        }