diff options
Diffstat (limited to 'src/sync/algorithms.rs')
| -rw-r--r-- | src/sync/algorithms.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sync/algorithms.rs b/src/sync/algorithms.rs index 3063516..5b5b520 100644 --- a/src/sync/algorithms.rs +++ b/src/sync/algorithms.rs | |||
| @@ -11,7 +11,7 @@ use std::collections::{HashMap, HashSet}; | |||
| 11 | 11 | ||
| 12 | use nostr_sdk::prelude::*; | 12 | use nostr_sdk::prelude::*; |
| 13 | 13 | ||
| 14 | use super::{ConnectionStatus, PendingBatch, RelayState}; | 14 | use super::{ConnectionStatus, PendingBatch, RelayState, SyncMethod}; |
| 15 | 15 | ||
| 16 | // ============================================================================= | 16 | // ============================================================================= |
| 17 | // Data Structures | 17 | // Data Structures |
| @@ -396,6 +396,7 @@ mod tests { | |||
| 396 | root_events: HashSet::new(), | 396 | root_events: HashSet::new(), |
| 397 | }, | 397 | }, |
| 398 | outstanding_subs: HashSet::new(), | 398 | outstanding_subs: HashSet::new(), |
| 399 | sync_method: SyncMethod::ReqEose, | ||
| 399 | }], | 400 | }], |
| 400 | ); | 401 | ); |
| 401 | 402 | ||
| @@ -504,6 +505,7 @@ mod tests { | |||
| 504 | root_events: HashSet::new(), | 505 | root_events: HashSet::new(), |
| 505 | }, | 506 | }, |
| 506 | outstanding_subs: HashSet::new(), | 507 | outstanding_subs: HashSet::new(), |
| 508 | sync_method: SyncMethod::ReqEose, | ||
| 507 | }], | 509 | }], |
| 508 | ); | 510 | ); |
| 509 | 511 | ||