diff options
Diffstat (limited to 'src/swarm/bootstrap.rs')
| -rw-r--r-- | src/swarm/bootstrap.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/swarm/bootstrap.rs b/src/swarm/bootstrap.rs index 5e9ac06..ad1de61 100644 --- a/src/swarm/bootstrap.rs +++ b/src/swarm/bootstrap.rs @@ -25,11 +25,12 @@ use tracing::{debug, info, warn}; use uuid::Uuid; use crate::document; +use crate::document::meta::{self, SWARM}; use crate::document::replica::Epoch; use crate::document::store; use crate::files::{FileKind, Files}; use crate::force::Force; -use crate::remake::snapshot::{self, META_ROOT, SWARM}; +use crate::remake::snapshot; use crate::state::AppState; use crate::swarm::peer::{remember_peer, send_hello_once}; @@ -139,7 +140,7 @@ pub(crate) async fn bootstrap(state: &AppState, seeds: &[String], start: Start) } fn swarm_id_path() -> Vec<String> { - vec![META_ROOT.to_owned(), SWARM.to_owned()] + meta::path(&[SWARM]) } /// The swarm ID the document names, if any. |
