Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-aranha-cw committed Jul 29, 2024
1 parent e30cc9f commit f70dd4a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,16 @@ async fn run(config: StratusConfig) -> anyhow::Result<()> {
}

// init rpc server
let rpc_server_config = config.rpc_server.clone();
let executor_chain_id = config.executor.chain_id.into();
let config_clone = config.clone();

serve_rpc(
// services
Arc::clone(&storage),
executor,
miner,
consensus,
// config
config_clone,
rpc_server_config,
executor_chain_id,
config.clone(),
config.rpc_server,
config.executor.chain_id.into(),
)
.await?;

Expand Down

0 comments on commit f70dd4a

Please sign in to comment.