chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c9115
)
at-currency: Use synchu to synchronise, to update a_pieces
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 18:00:47 +0000
(19:00 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 18:39:26 +0000
(19:39 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-currency.rs
patch
|
blob
|
history
diff --git
a/apitest/at-currency.rs
b/apitest/at-currency.rs
index dd79806a2a9e64018a0a5c642ab2b0d5109db501..1aaa37bfc8090e954adae609904e0d80c4c5f6e4 100644
(file)
--- 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.synch
u(&mut a_pieces
)?;
alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, bn)), other_pile)?;
- alice.synch
(
)?;
+ alice.synch
u(&mut a_pieces
)?;
}
}