From 2c38b0c06aa36631325d3fca10ef32e83e04bd7a Mon Sep 17 00:00:00 2001 From: Sergey Timoshin Date: Mon, 20 Jan 2025 18:03:02 +0000 Subject: [PATCH] chore: remove commented-out code --- forester/src/main.rs | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/forester/src/main.rs b/forester/src/main.rs index 38ef70ff5..647ae33d0 100644 --- a/forester/src/main.rs +++ b/forester/src/main.rs @@ -41,44 +41,6 @@ async fn main() -> Result<(), ForesterError> { } }); - // let indexer_rpc = - // SolanaRpcConnection::new(config.external_services.rpc_url.clone(), None); - // let indexer = Arc::new(tokio::sync::Mutex::new(PhotonIndexer::new( - // config.external_services.indexer_url.clone().unwrap(), - // config.external_services.photon_api_key.clone(), - // indexer_rpc, - // ))); - - // let indexer_rpc = MetricsRpcConnection::::new( - // config.external_services.rpc_url.clone(), - // None - // ); - // let indexer = Arc::new(tokio::sync::Mutex::new(PhotonIndexer::new( - // config.external_services.indexer_url.clone().unwrap(), - // config.external_services.photon_api_key.clone(), - // indexer_rpc, - // ))); - - // run_pipeline(config, indexer, shutdown_receiver, work_report_sender).await? - - // let indexer_rpc = SolanaRpcConnection::new( - // config.external_services.rpc_url.clone(), - // None - // ); - // let indexer = Arc::new(tokio::sync::Mutex::new(PhotonIndexer::new( - // config.external_services.indexer_url.clone().unwrap(), - // config.external_services.photon_api_key.clone(), - // indexer_rpc, - // ))); - - // run_pipeline::>( - // config, - // indexer, - // shutdown_receiver, - // work_report_sender, - // ).await? - - let indexer_rpc = MetricsRpcConnection::new( config.external_services.rpc_url.clone(), None