From 54a249e8586ba02a1a354135aef9df21046389af Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Tue, 18 Jun 2024 01:02:35 +0100 Subject: [PATCH] make `initial_chain_search` pub --- p2p/cuprate-p2p/src/block_downloader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/cuprate-p2p/src/block_downloader.rs b/p2p/cuprate-p2p/src/block_downloader.rs index 337d8e15..31f7fe01 100644 --- a/p2p/cuprate-p2p/src/block_downloader.rs +++ b/p2p/cuprate-p2p/src/block_downloader.rs @@ -1039,7 +1039,7 @@ async fn request_chain_entry_from_peer( /// /// 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( +pub async fn initial_chain_search( client_pool: &Arc>, mut peer_sync_svc: S, mut our_chain_svc: C,