From d66c0d6833ddbeb61e34ee222dde92a5363bda1f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 9 Apr 2020 23:45:07 +0200 Subject: Why is it not Sync?? --- src/rpc_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc_client.rs') diff --git a/src/rpc_client.rs b/src/rpc_client.rs index 9c9726b1..134f8e98 100644 --- a/src/rpc_client.rs +++ b/src/rpc_client.rs @@ -102,7 +102,7 @@ impl RpcClient { timeout: Duration) -> Result { - let uri = format!("http://{}/", to_addr); + let uri = format!("http://{}/rpc", to_addr); let req = Request::builder() .method(Method::POST) .uri(uri) -- cgit v1.2.3