mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user