diff --git a/src/replication/mod.rs b/src/replication/mod.rs index 8f91c3aa..4b4372dc 100644 --- a/src/replication/mod.rs +++ b/src/replication/mod.rs @@ -3006,7 +3006,7 @@ impl ReplicationEngine { } }; match dht_event { - DhtNetworkEvent::KClosestPeersChanged { old, new } => { + DhtNetworkEvent::KClosestPeersChanged { old, new, .. } => { let old_peers = old .iter() .take(config.neighbor_sync_scope)