fix(cli): configure ws correctly (#1927)

This commit is contained in:
Matthias Seitz
2023-03-23 13:52:29 +01:00
committed by GitHub
parent 2cba04774b
commit d91102eec2

View File

@@ -213,7 +213,7 @@ impl RpcServerArgs {
self.ws_addr.unwrap_or(IpAddr::V4(Ipv4Addr::UNSPECIFIED)),
self.ws_port.unwrap_or(constants::DEFAULT_WS_RPC_PORT),
);
config = config.with_ws_address(socket_address).with_http(ServerBuilder::new());
config = config.with_ws_address(socket_address).with_ws(ServerBuilder::new());
}
if !self.ipcdisable {