From 8691202967a5c97ada3e0bbf799402935f2aeeca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 May 2022 15:39:48 +0100 Subject: [PATCH] at-currency: wip Signed-off-by: Ian Jackson --- apitest/at-currency.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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()?; + } } -- 2.30.2