From: Ian Jackson Date: Sun, 1 May 2022 18:00:47 +0000 (+0100) Subject: at-currency: Use synchu to synchronise, to update a_pieces X-Git-Tag: otter-1.1.0~340 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2727464babdd669482035725f0a67a772822e0ad;p=otter.git at-currency: Use synchu to synchronise, to update a_pieces Signed-off-by: Ian Jackson --- 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)?; } }