make initial_chain_search pub

This commit is contained in:
Boog900 2024-06-18 01:02:35 +01:00
parent 9f6a85e23f
commit 54a249e858
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2

View file

@ -1039,7 +1039,7 @@ async fn request_chain_entry_from_peer<N: NetworkZone>(
///
/// We then wait for their response and choose the peer who claims the highest cumulative difficulty.
#[instrument(level = "error", skip_all)]
async fn initial_chain_search<N: NetworkZone, S, C>(
pub async fn initial_chain_search<N: NetworkZone, S, C>(
client_pool: &Arc<ClientPool<N>>,
mut peer_sync_svc: S,
mut our_chain_svc: C,