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 | 260c100bd973fefa11478cb61b1d8b4e08308d76 (patch) | |
| tree | a612f566038eaa9783245e5fe9e848fa841a98fe /src/swarm | |
| parent | 51973b974d76507d3bc748fced6750b651953e80 (diff) | |
add simulation test
Diffstat (limited to 'src/swarm')
| -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, |
