Skip to content

Commit

Permalink
rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
juan518munoz committed Mar 11, 2024
1 parent d99e9bf commit 8d37924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/zksync_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ use crate::{
},
};

pub mod api_conversion_rate;
pub mod api_server;
pub mod basic_witness_input_producer;
pub mod block_reverter;
pub mod consensus;
pub mod consistency_checker;
pub mod dev_api_conversion_rate;
pub mod eth_sender;
pub mod eth_watch;
mod fee_model;
Expand Down Expand Up @@ -273,7 +273,7 @@ impl FromStr for Components {
"eth_tx_manager" => Ok(Components(vec![Component::EthTxManager])),
"proof_data_handler" => Ok(Components(vec![Component::ProofDataHandler])),
"native_token_fetcher" => Ok(Components(vec![Component::NativeTokenFetcher])),
"conversion_rate_api" => Ok(Components(vec![Component::DevConversionRateApi])),
"dev_conversion_rate_api" => Ok(Components(vec![Component::DevConversionRateApi])),
other => Err(format!("{} is not a valid component name", other)),
}
}
Expand Down Expand Up @@ -342,7 +342,7 @@ pub async fn initialize_components(

let stop_receiver = stop_receiver.clone();
let conversion_rate_task = tokio::spawn(async move {
api_conversion_rate::run_server(stop_receiver, &native_token_fetcher_config).await
dev_api_conversion_rate::run_server(stop_receiver, &native_token_fetcher_config).await
});
task_futures.push(conversion_rate_task);
};
Expand Down

0 comments on commit 8d37924

Please sign in to comment.