mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
removes use of sc_client::Client from sc_network (#5147)
* removes use of sc_client::Client from sc_network * rename BlockProvider to BlockBackend * fix broken test
This commit is contained in:
@@ -50,8 +50,6 @@ pub trait BabeApi {
|
||||
}
|
||||
|
||||
/// Implements the BabeRPC trait for interacting with Babe.
|
||||
///
|
||||
/// Uses a background thread to calculate epoch_authorship data.
|
||||
pub struct BabeRPCHandler<B: BlockT, C, SC> {
|
||||
/// shared reference to the client.
|
||||
client: Arc<C>,
|
||||
@@ -74,7 +72,6 @@ impl<B: BlockT, C, SC> BabeRPCHandler<B, C, SC> {
|
||||
babe_config: Config,
|
||||
select_chain: SC,
|
||||
) -> Self {
|
||||
|
||||
Self {
|
||||
client,
|
||||
shared_epoch_changes,
|
||||
|
||||
Reference in New Issue
Block a user