Rework discover to handle additional parameters, and be unit-testable
This commit is contained in:
committed by
Tyera Eulberg
parent
5b7d5e2e02
commit
6ff2a0a75e
@@ -215,7 +215,7 @@ impl Replicator {
|
||||
);
|
||||
|
||||
info!("Looking for leader at {:?}", cluster_entrypoint);
|
||||
crate::gossip_service::discover(&cluster_entrypoint.gossip, 1)?;
|
||||
crate::gossip_service::discover_nodes(&cluster_entrypoint.gossip, 1)?;
|
||||
|
||||
let (storage_blockhash, storage_entry_height) =
|
||||
Self::poll_for_blockhash_and_entry_height(&cluster_info)?;
|
||||
|
Reference in New Issue
Block a user