From 182c618579919c45281e4a2554890b2f40d2a974 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Jul 2022 12:05:41 +0200 Subject: -implement batch deposit testing cmd --- src/testing/testing_api_cmd_deposit.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'src/testing/testing_api_cmd_deposit.c') diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c index deaff4db..c54d8759 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 () }; -- cgit v1.2.3