From 2727464babdd669482035725f0a67a772822e0ad Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 May 2022 19:00:47 +0100 Subject: [PATCH] at-currency: Use synchu to synchronise, to update a_pieces Signed-off-by: Ian Jackson --- apitest/at-currency.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apitest/at-currency.rs b/apitest/at-currency.rs index dd79806a..1aaa37bf 100644 --- a/apitest/at-currency.rs +++ b/apitest/at-currency.rs @@ -25,10 +25,10 @@ impl Ctx { alice.api_piece_op_single(PuSynch((&mut a_pieces, bn)).id(), ( "multigrab", json!({ "n": 50, 'z': "q000000000" }) ))?; - alice.synch()?; + alice.synchu(&mut a_pieces)?; alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, bn)), other_pile)?; - alice.synch()?; + alice.synchu(&mut a_pieces)?; } } -- 2.30.2