From 28ab6ca4fd2ba3118a46a573adf9fec0af1b7a8b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 26 Mar 2023 14:18:58 -0400 Subject: [PATCH] Revert "*Add impl From<()> for HttpClientError" This reverts commit c831bd5c3554b12f3b76c6ec358ef673c5e84ddd. --- ethers-providers/src/transports/http.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ethers-providers/src/transports/http.rs b/ethers-providers/src/transports/http.rs index 600edaf1..ad473c0e 100644 --- a/ethers-providers/src/transports/http.rs +++ b/ethers-providers/src/transports/http.rs @@ -91,15 +91,6 @@ impl From> for ClientError { } } } -impl From<()> for HttpClientError { - fn from(_: ()) -> Self { - HttpClientError::JsonRpcError(JsonRpcError { - code: 0, - message: "".to_string(), - data: None, - }) - } -} #[cfg_attr(target_arch = "wasm32", async_trait(?Send))] #[cfg_attr(not(target_arch = "wasm32"), async_trait)]