diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-26 04:04:02 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-26 04:04:02 +0200 |
commit | 1ce9312d0293444e55512bba69265f4671d387e9 (patch) | |
tree | 15b58dff705c54fa938cfc34e0a7a6173aee951f /src/exchangedb/pg_do_age_withdraw.c | |
parent | ac462b275300d28f939a9be83c5bd220fbb0d7cd (diff) | |
download | exchange-1ce9312d0293444e55512bba69265f4671d387e9.tar.gz exchange-1ce9312d0293444e55512bba69265f4671d387e9.tar.bz2 exchange-1ce9312d0293444e55512bba69265f4671d387e9.zip |
[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.
Diffstat (limited to 'src/exchangedb/pg_do_age_withdraw.c')
-rw-r--r-- | src/exchangedb/pg_do_age_withdraw.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exchangedb/pg_do_age_withdraw.c b/src/exchangedb/pg_do_age_withdraw.c index c79b2b3de..4fb52d466 100644 --- a/src/exchangedb/pg_do_age_withdraw.c +++ b/src/exchangedb/pg_do_age_withdraw.c @@ -52,15 +52,15 @@ TEH_PG_do_age_withdraw ( GNUNET_PQ_query_param_auto_from_type (&commitment->h_commitment), GNUNET_PQ_query_param_uint16 (&commitment->max_age), GNUNET_PQ_query_param_uint16 (&commitment->noreveal_index), - GNUNET_PQ_query_param_array_auto_from_type (commitment->num_coins, - commitment->h_coin_evs, - pg->conn), + TALER_PQ_query_param_array_blinded_coin_hash (commitment->num_coins, + commitment->h_coin_evs, + pg->conn), GNUNET_PQ_query_param_array_uint64 (commitment->num_coins, commitment->denom_serials, pg->conn), - GNUNET_PQ_query_param_array_auto_from_type (commitment->num_coins, - commitment->denom_sigs, - pg->conn), + TALER_PQ_query_param_array_blinded_denom_sig (commitment->num_coins, + commitment->denom_sigs, + pg->conn), GNUNET_PQ_query_param_end }; struct GNUNET_PQ_ResultSpec rs[] = { |