summaryrefslogtreecommitdiffstats
path: root/src/simtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/simtest')
-rw-r--r--src/simtest/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs
index 26092ee..e7fc719 100644
--- a/src/simtest/mod.rs
+++ b/src/simtest/mod.rs
@@ -219,11 +219,11 @@ impl Sim {
ago(p.last_seen),
ago(p.last_sync_rx),
p.is_unreachable(&node.timing, now),
- p.sync.state.their_heads.as_ref().map(|heads| heads
+ p.sync.automerge_view().0.map(|heads| heads
.iter()
.map(|head| head.to_string()[..8].to_owned())
.collect::<Vec<_>>()),
- p.sync.state.in_flight,
+ p.sync.automerge_view().1,
p.sync.sending.is_some(),
p.sync
.reply