refactor(rpc): remove intermediate types from rpc start up process (#9180)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Sean Matt
2024-07-08 17:06:52 -04:00
committed by GitHub
parent 94f1adfa7c
commit 9c0bc8477a
5 changed files with 133 additions and 306 deletions

View File

@ -79,7 +79,7 @@ async fn main() -> eyre::Result<()> {
// Start the server & keep it alive
let server_args =
RpcServerConfig::http(Default::default()).with_http_address("0.0.0.0:8545".parse()?);
let _handle = server_args.start(server).await?;
let _handle = server_args.start(&server).await?;
futures::future::pending::<()>().await;
Ok(())