mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 06:17:56 +00:00
Rework the OnDemand service (#2670)
* Rework the OnDemand service * Try fix line widths
This commit is contained in:
committed by
Gavin Wood
parent
ffce18b994
commit
ff479c4e23
@@ -24,6 +24,7 @@ mod sync;
|
||||
use std::collections::{HashMap, HashSet, VecDeque};
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::AlwaysBadChecker;
|
||||
use log::trace;
|
||||
use crate::chain::FinalityProofProvider;
|
||||
use client::{self, ClientInfo, BlockchainEvents, FinalityNotifications};
|
||||
@@ -956,7 +957,7 @@ pub trait TestNetFactory: Sized {
|
||||
let protocol = Protocol::new(
|
||||
config.clone(),
|
||||
client.clone(),
|
||||
None,
|
||||
Arc::new(AlwaysBadChecker),
|
||||
specialization,
|
||||
).unwrap();
|
||||
|
||||
@@ -1010,7 +1011,7 @@ pub trait TestNetFactory: Sized {
|
||||
let protocol = Protocol::new(
|
||||
config,
|
||||
client.clone(),
|
||||
None,
|
||||
Arc::new(AlwaysBadChecker),
|
||||
specialization,
|
||||
).unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user