diff --git a/src/discv5.rs b/src/discv5.rs index dfa52e34b..f813e8a42 100644 --- a/src/discv5.rs +++ b/src/discv5.rs @@ -318,7 +318,7 @@ impl Discv5

{ /// Sends a PING request to a node. pub fn send_ping( - &mut self, + &self, enr: Enr, ) -> impl Future> + 'static { let (callback_send, callback_recv) = oneshot::channel();