aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-05 17:59:02 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-05 17:59:02 +0100
commit19de0f604f9b48eb18308353dee6de12ca4dd120 (patch)
tree104e10eb83164b7f0bb5e0495900f58bbf09cdf0 /src/exchangedb/test_exchangedb.c
parent67de20d26e7eed951528db6aaedaf163108f49a5 (diff)
change order of statements when making coin known to possibly reduce serialization failures
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 12cff4907..ce943226b 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -1796,9 +1796,14 @@ run (void *cls)
value.currency));
result = 7;
- qs = plugin->get_reserve_history (plugin->cls,
- &reserve_pub,
- &rh);
+ {
+ struct TALER_Amount balance;
+
+ qs = plugin->get_reserve_history (plugin->cls,
+ &reserve_pub,
+ &balance,
+ &rh);
+ }
FAILIF (0 > qs);
FAILIF (NULL == rh);
rh_head = rh;