diff --git a/node/sync/src/controllers/serial.rs b/node/sync/src/controllers/serial.rs index 7343444..876f6d7 100644 --- a/node/sync/src/controllers/serial.rs +++ b/node/sync/src/controllers/serial.rs @@ -89,9 +89,6 @@ pub struct SerialSyncController { /// Cache for storing and serving gossip messages. file_location_cache: Arc, - - /// Whether to find files from neighbors only. - neighbors_only: bool, } impl SerialSyncController { @@ -118,7 +115,6 @@ impl SerialSyncController { ctx, store, file_location_cache, - neighbors_only: true, } } diff --git a/node/sync/src/service.rs b/node/sync/src/service.rs index 3fd12f6..9c4ae18 100644 --- a/node/sync/src/service.rs +++ b/node/sync/src/service.rs @@ -1571,7 +1571,7 @@ mod tests { .request(SyncRequest::SyncFile { tx_seq }) .await .unwrap(); - + receive_dial(&mut runtime, &sync_send).await; receive_chunk_request(