diff --git a/sync/src/tests.rs b/sync/src/tests.rs index a0850c062..88f19a8b6 100644 --- a/sync/src/tests.rs +++ b/sync/src/tests.rs @@ -296,7 +296,7 @@ impl TestNet { trace!("----------------"); } let mut p = self.peers.get_mut(peer).unwrap(); - p.sync._maintain_sync(&mut TestIo::new(&mut p.chain, &mut p.queue, None)); + p.sync.maintain_sync(&mut TestIo::new(&mut p.chain, &mut p.queue, None)); } }