From 1c3e8af922d953c2af18993b00220cb2c793be05 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 2 Dec 2023 00:46:34 -0500 Subject: [PATCH] Use proper English in Monero RPC constructor --- coins/monero/src/rpc/http.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coins/monero/src/rpc/http.rs b/coins/monero/src/rpc/http.rs index 9af7a0876..c0ec9ff37 100644 --- a/coins/monero/src/rpc/http.rs +++ b/coins/monero/src/rpc/http.rs @@ -61,14 +61,14 @@ impl HttpRpc { /// A daemon requiring authentication can be used via including the username and password in the /// URL. pub async fn new(url: String) -> Result, RpcError> { - Self::new_custom_timeout(url, DEFAULT_TIMEOUT).await + Self::with_custom_timeout(url, DEFAULT_TIMEOUT).await } /// Create a new HTTP(S) RPC connection with a custom timeout. /// /// A daemon requiring authentication can be used via including the username and password in the /// URL. - pub async fn new_custom_timeout( + pub async fn with_custom_timeout( mut url: String, request_timeout: Duration, ) -> Result, RpcError> {