aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_batch_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-30 16:31:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-30 16:31:24 +0200
commit7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a (patch)
tree60e9259939dca8f9bb9ad2539d594fb15e67a170 /src/testing/testing_api_cmd_batch_withdraw.c
parent7f902c0fc9bc7e0832d01169e6f580ab671fbf08 (diff)
downloadexchange-7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a.tar.xz
-generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests
Diffstat (limited to 'src/testing/testing_api_cmd_batch_withdraw.c')
-rw-r--r--src/testing/testing_api_cmd_batch_withdraw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/testing/testing_api_cmd_batch_withdraw.c b/src/testing/testing_api_cmd_batch_withdraw.c
index 5e480f12b..f135f5def 100644
--- a/src/testing/testing_api_cmd_batch_withdraw.c
+++ b/src/testing/testing_api_cmd_batch_withdraw.c
@@ -87,8 +87,6 @@ struct CoinState
/**
* Reserve history entry that corresponds to this coin.
* Will be of type #TALER_EXCHANGE_RTT_WITHDRAWAL.
- *
- * FIXME: how to export one per coin?
*/
struct TALER_EXCHANGE_ReserveHistoryEntry reserve_history;
@@ -401,8 +399,8 @@ batch_withdraw_traits (void *cls,
struct CoinState *cs = &ws->coins[index];
struct TALER_TESTING_Trait traits[] = {
/* history entry MUST be first due to response code logic below! */
- // FIXME: bug!
- TALER_TESTING_make_trait_reserve_history (&cs->reserve_history),
+ TALER_TESTING_make_trait_reserve_history (index,
+ &cs->reserve_history),
TALER_TESTING_make_trait_coin_priv (index,
&cs->coin_priv),
TALER_TESTING_make_trait_planchet_secrets (index,