diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 12:05:41 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 12:05:41 +0200 |
commit | 182c618579919c45281e4a2554890b2f40d2a974 (patch) | |
tree | 4b16fa9f11c7efc602ead190c29c4e6ea8d954e5 /src/testing/testing_api_cmd_deposit.c | |
parent | 9e3fb2302d72a285067ccc39038481afcab97dc2 (diff) | |
download | exchange-182c618579919c45281e4a2554890b2f40d2a974.tar.xz |
-implement batch deposit testing cmd
Diffstat (limited to 'src/testing/testing_api_cmd_deposit.c')
-rw-r--r-- | src/testing/testing_api_cmd_deposit.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c index deaff4dbc..c54d87591 100644 --- a/src/testing/testing_api_cmd_deposit.c +++ b/src/testing/testing_api_cmd_deposit.c @@ -580,23 +580,27 @@ deposit_traits (void *cls, struct TALER_TESTING_Trait traits[] = { /* First two traits are only available if ds->traits is #GNUNET_YES */ - TALER_TESTING_make_trait_exchange_pub (index, &ds->exchange_pub), - TALER_TESTING_make_trait_exchange_sig (index, &ds->exchange_sig), + TALER_TESTING_make_trait_exchange_pub (0, + &ds->exchange_pub), + TALER_TESTING_make_trait_exchange_sig (0, + &ds->exchange_sig), /* These traits are always available */ - TALER_TESTING_make_trait_coin_priv (index, + TALER_TESTING_make_trait_coin_priv (0, coin_spent_priv), - TALER_TESTING_make_trait_age_commitment_proof (index, + TALER_TESTING_make_trait_age_commitment_proof (0, age_commitment_proof), TALER_TESTING_make_trait_wire_details (ds->wire_details), TALER_TESTING_make_trait_contract_terms (ds->contract_terms), TALER_TESTING_make_trait_merchant_priv (&ds->merchant_priv), - TALER_TESTING_make_trait_deposit_amount (&ds->amount), - TALER_TESTING_make_trait_deposit_fee_amount (&ds->deposit_fee), - TALER_TESTING_make_trait_timestamp (index, + TALER_TESTING_make_trait_deposit_amount (0, + &ds->amount), + TALER_TESTING_make_trait_deposit_fee_amount (0, + &ds->deposit_fee), + TALER_TESTING_make_trait_timestamp (0, &ds->exchange_timestamp), - TALER_TESTING_make_trait_wire_deadline (index, + TALER_TESTING_make_trait_wire_deadline (0, &ds->wire_deadline), - TALER_TESTING_make_trait_refund_deadline (index, + TALER_TESTING_make_trait_refund_deadline (0, &ds->refund_deadline), TALER_TESTING_trait_end () }; |