chore: remove allow unused in rpc (#2617)

This commit is contained in:
Matthias Seitz
2023-05-09 16:41:53 +02:00
committed by GitHub
parent bda830c1a5
commit 21217cbed3
10 changed files with 34 additions and 42 deletions

View File

@ -820,12 +820,12 @@ where
self.config.eth.max_logs_per_response,
);
let pubsub = EthPubSub::new(
let pubsub = EthPubSub::with_spawner(
self.client.clone(),
self.pool.clone(),
self.events.clone(),
self.network.clone(),
cache.clone(),
Box::new(self.executor.clone()),
);
let eth = EthHandlers { api, cache, filter, pubsub };