Skip to content

Commit 1974e2e

Browse files
author
Fan Long
committed
fix the bug of using wrong ws_address to open rpc endpoints
1 parent 3ab6cd8 commit 1974e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/client/src/rpc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ pub async fn launch_async_rpc_servers(
432432
TransportRpcModuleConfig::set_http(apis.clone());
433433
let server_config =
434434
RpcServerConfig::http(ServerBuilder::default())
435-
.with_http_address(ws_config.address);
435+
.with_http_address(http_config.address);
436436
(transport_rpc_module_config, server_config)
437437
}
438438
(false, true) => {

0 commit comments

Comments
 (0)