mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 20:07:56 +00:00
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -236,7 +236,7 @@ impl TestSyncOracleHandle {
|
||||
}
|
||||
|
||||
impl SyncOracle for TestSyncOracle {
|
||||
fn is_major_syncing(&mut self) -> bool {
|
||||
fn is_major_syncing(&self) -> bool {
|
||||
let is_major_syncing = self.is_major_syncing.load(Ordering::SeqCst);
|
||||
|
||||
if !is_major_syncing {
|
||||
@@ -248,7 +248,7 @@ impl SyncOracle for TestSyncOracle {
|
||||
is_major_syncing
|
||||
}
|
||||
|
||||
fn is_offline(&mut self) -> bool {
|
||||
fn is_offline(&self) -> bool {
|
||||
unimplemented!("not used in network bridge")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user