Skip to content

Commit

Permalink
chore: remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeytimoshin committed Jan 20, 2025
1 parent 4301b80 commit 2c38b0c
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions forester/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<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 = 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::<SolanaRpcConnection, PhotonIndexer<SolanaRpcConnection>>(
// config,
// indexer,
// shutdown_receiver,
// work_report_sender,
// ).await?


let indexer_rpc = MetricsRpcConnection::new(
config.external_services.rpc_url.clone(),
None
Expand Down

0 comments on commit 2c38b0c

Please sign in to comment.