Remove the `peer_disconnected` `no_connection_possible` flag
[rust-lightning] / lightning / src / onion_message / messenger.rs
index 497628607ce0ff5ec4154f9546a8dc28179747e3..b174e52290b77c8abf221244c64f791809908820 100644 (file)
@@ -426,7 +426,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);
        }