fix clippy (#1334)

This commit is contained in:
Niklas Adolfsson
2024-01-03 12:18:56 +01:00
committed by GitHub
parent 47b8c90be5
commit 38d8e714ec
6 changed files with 6 additions and 12 deletions
+1 -4
View File
@@ -230,10 +230,7 @@ impl<Res: DeserializeOwned> Stream for RpcSubscription<Res> {
mod jsonrpsee_helpers {
pub use jsonrpsee::{
client_transport::ws::{Receiver, Sender, Url, WsTransportClientBuilder},
core::{
client::{Client, ClientBuilder},
Error,
},
core::{client::Client, Error},
};
/// Build WS RPC client from URL
+1 -1
View File
@@ -249,7 +249,7 @@ mod jsonrpsee_helpers {
use crate::error::{Error, LightClientError};
pub use jsonrpsee::{
client_transport::ws::{Receiver, Sender, Url, WsTransportClientBuilder},
core::client::{Client, ClientBuilder},
core::client::Client,
};
/// Build WS RPC client from URL