Revert "*Add impl From<()> for HttpClientError"

This reverts commit c831bd5c35.
This commit is contained in:
Derrick Hammer 2023-03-26 14:18:58 -04:00
parent c831bd5c35
commit 28ab6ca4fd
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 9 deletions

View File

@ -91,15 +91,6 @@ impl From<Result<String, ()>> 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)]