From 1ce9312d0293444e55512bba69265f4671d387e9 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Wed, 26 Jul 2023 04:04:02 +0200 Subject: [age-withdraw] WIP - database transaction during reveal works now The test for age-restriction still fail, but the database transactions, including passing arrays in/out the PQ-helpers works. --- src/testing/testing_api_cmd_age_withdraw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/testing/testing_api_cmd_age_withdraw.c') diff --git a/src/testing/testing_api_cmd_age_withdraw.c b/src/testing/testing_api_cmd_age_withdraw.c index 98a5e1d8..8849cd31 100644 --- a/src/testing/testing_api_cmd_age_withdraw.c +++ b/src/testing/testing_api_cmd_age_withdraw.c @@ -629,8 +629,8 @@ age_withdraw_reveal_run ( * Get the command and state for the previous call to "age witdraw" */ age_withdraw_cmd = - TALER_TESTING_interpreter_get_command (is, - awrs->age_withdraw_reference); + TALER_TESTING_interpreter_lookup_command (is, + awrs->age_withdraw_reference); if (NULL == age_withdraw_cmd) { GNUNET_break (0); @@ -649,6 +649,7 @@ age_withdraw_reveal_run ( aws->coin_inputs, aws->noreveal_index, &aws->h_commitment, + &aws->reserve_pub, age_withdraw_reveal_cb, awrs); } -- cgit v1.2.3