aboutsummaryrefslogtreecommitdiff
path: root/p2p
diff options
context:
space:
mode:
Diffstat (limited to 'p2p')
-rw-r--r--p2p/src/discovery/lookup.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/src/discovery/lookup.rs b/p2p/src/discovery/lookup.rs
index ba15da3..71cc5b8 100644
--- a/p2p/src/discovery/lookup.rs
+++ b/p2p/src/discovery/lookup.rs
@@ -215,7 +215,7 @@ impl LookupService {
/// Starts a self lookup
async fn self_lookup(
&self,
- random_peers: &Vec<PeerMsg>,
+ random_peers: &[PeerMsg],
peer_buffer: &mut Vec<PeerMsg>,
) -> Result<()> {
let mut results = FuturesUnordered::new();