From 2e622f0885235a66637ac73800101c78c305c5b8 Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Wed, 7 Jun 2023 00:33:36 -0600 Subject: [PATCH] Remove unneeded mut from send_ping(..) --- src/discv5.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();