Skip to content

Commit

Permalink
add where clause
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Oct 25, 2024
1 parent 904c6c5 commit 00061a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zero/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ use crate::rpc::RpcType;
const CACHE_SIZE: usize = 1024;
const MAX_NUMBER_OF_PARALLEL_REQUESTS: usize = 128;

impl<T: Transport + Clone, R: Provider<T>> Provider<T> for CachedProvider<R, T> {
impl<T, P> Provider<T> for CachedProvider<P, T>
where
T: Transport + Clone,
P: Provider<T>,
{
fn root(&self) -> &RootProvider<T> {
self.provider.root()
}
Expand Down

0 comments on commit 00061a3

Please sign in to comment.