aboutsummaryrefslogtreecommitdiff
path: root/src/rpc_client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc_client.rs')
-rw-r--r--src/rpc_client.rs2
1 files changed, 1 insertions, 1 deletions
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<Message, Error>
{
- let uri = format!("http://{}/", to_addr);
+ let uri = format!("http://{}/rpc", to_addr);
let req = Request::builder()
.method(Method::POST)
.uri(uri)