diff options
| -rw-r--r-- | src/simtest/holding.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simtest/holding.rs b/src/simtest/holding.rs index 069cc1e..02e8ddf 100644 --- a/src/simtest/holding.rs +++ b/src/simtest/holding.rs @@ -1556,7 +1556,7 @@ async fn store_attack_15() { /// pinned, and stays where it is, taking what is written on. #[tokio::test(flavor = "multi_thread", worker_threads = 4)] async fn store_attack_31() { - let (sim, nodes, _, id, _, honest, _) = made_up_epoch(98).await; + let (sim, nodes, _, _, head, honest, _) = made_up_epoch(98).await; let all = &nodes; sim.wait_until( "a, b and c don't follow d's epoch", @@ -1564,7 +1564,7 @@ async fn store_attack_31() { move || async move { all[..3].iter().all(not_followed) }, ) .await; - let later = Party::new("lass", 2).write(&[id], "home/lass/later", s("2")); + let later = Party::new("lass", 2).write(&[Id::of(&head)], "home/lass/later", s("2")); put(&nodes[1], &[&later]).await; let later = [Id::of(&later)]; sim.wait_until( |
