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.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rpc_client.rs b/src/rpc_client.rs
index 6f897a90..bb0ca56c 100644
--- a/src/rpc_client.rs
+++ b/src/rpc_client.rs
@@ -142,7 +142,10 @@ impl RpcClient {
let resp = tokio::time::timeout(timeout, resp_fut)
.await?
.map_err(|e| {
- eprintln!("RPC HTTP client error when connecting to {}: {}", to_addr, e);
+ eprintln!(
+ "RPC HTTP client error when connecting to {}: {}",
+ to_addr, e
+ );
e
})?;
@@ -158,4 +161,3 @@ impl RpcClient {
}
}
}
-