diff options
| author | tv <tv@krebsco.de> | 2026-10-25 21:44:04 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-25 21:44:04 +0100 |
| commit | 4084dd1cb46b86fe9fe22c12057c84df4e0005d8 (patch) | |
| tree | b5a3214c6919bd10a2e3847d789f99c94ce457fa /src/swarm/bootstrap.rs | |
| parent | 9bf3ec3809825642962fe7db3630d60f58458126 (diff) | |
add simulation test
Diffstat (limited to 'src/swarm/bootstrap.rs')
| -rw-r--r-- | src/swarm/bootstrap.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/swarm/bootstrap.rs b/src/swarm/bootstrap.rs index bd15a34..5e9ac06 100644 --- a/src/swarm/bootstrap.rs +++ b/src/swarm/bootstrap.rs @@ -351,8 +351,11 @@ async fn report_joining(state: &AppState, seeds: &[String], unresolved: &[String peer_state.epoch, )); } + // Awaited outside the macro: its arguments aren't Send, and a spawned bootstrap + // (the simulator's) must be. + let local_swarm = state.swarm_id().await; warn!( - local_swarm = ?state.swarm_id().await, + local_swarm = ?local_swarm, local_epoch = %state.local_epoch(), initial_sync_done = state.initial_sync_done.load(Ordering::Acquire), unresolved_seeds = ?unresolved, |
