From: Ian Jackson Date: Sun, 1 May 2022 14:39:48 +0000 (+0100) Subject: at-currency: wip X-Git-Tag: otter-1.1.0~364 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8691202967a5c97ada3e0bbf799402935f2aeeca;p=otter.git at-currency: wip Signed-off-by: Ian Jackson --- diff --git a/apitest/at-currency.rs b/apitest/at-currency.rs index d54bc3d3..dd79806a 100644 --- a/apitest/at-currency.rs +++ b/apitest/at-currency.rs @@ -20,13 +20,16 @@ impl Ctx { .collect::>() .into_inner().unwrap(); - let other_pile = [40,20]; + let other_pile = PosC::new(40,20); + alice.api_piece_op_single(PuSynch((&mut a_pieces, bn)).id(), ( "multigrab", json!({ "n": 50, 'z': "q000000000" }) ))?; alice.synch()?; - let _ = other_pile; + alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, bn)), other_pile)?; + alice.synch()?; + } }