mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
This reverts commit ea1eb4e57f.
This commit is contained in:
@@ -26,7 +26,6 @@ test-helpers = []
|
||||
derive_more = "0.99.2"
|
||||
futures01 = { package = "futures", version = "0.1.29" }
|
||||
futures = { version = "0.3.4", features = ["compat"] }
|
||||
jsonrpc-pubsub = "14.2"
|
||||
rand = "0.7.3"
|
||||
parking_lot = "0.10.0"
|
||||
lazy_static = "1.4.0"
|
||||
|
||||
@@ -36,7 +36,6 @@ use futures::{
|
||||
Future, FutureExt, StreamExt,
|
||||
future::ready,
|
||||
};
|
||||
use jsonrpc_pubsub::manager::SubscriptionManager;
|
||||
use sc_keystore::Store as Keystore;
|
||||
use log::{info, warn, error};
|
||||
use sc_network::config::{Role, FinalityProofProvider, OnDemand, BoxFinalityProofRequestBuilder};
|
||||
@@ -1197,7 +1196,7 @@ ServiceBuilder<
|
||||
chain_type: chain_spec.chain_type().clone(),
|
||||
};
|
||||
|
||||
let subscriptions = SubscriptionManager::new(Arc::new(task_manager.spawn_handle()));
|
||||
let subscriptions = sc_rpc::Subscriptions::new(Arc::new(task_manager.spawn_handle()));
|
||||
|
||||
let (chain, state, child_state) = if let (Some(remote_backend), Some(on_demand)) =
|
||||
(remote_backend.as_ref(), on_demand.as_ref()) {
|
||||
|
||||
Reference in New Issue
Block a user