mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
src/net/session/seedsync_session.rs: mask unused functions
This commit is contained in:
@@ -129,9 +129,9 @@ impl SeedSyncSession {
|
||||
}
|
||||
|
||||
/// Returns true if every seed attempt per slot has failed.
|
||||
async fn failed(&self) -> bool {
|
||||
async fn _failed(&self) -> bool {
|
||||
let slots = &*self.slots.lock().await;
|
||||
slots.iter().all(|s| s.failed())
|
||||
slots.iter().all(|s| s._failed())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@ impl Slot {
|
||||
self.reset();
|
||||
}
|
||||
|
||||
fn failed(&self) -> bool {
|
||||
fn _failed(&self) -> bool {
|
||||
self.failed.load(SeqCst)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user