commit c5c3a44c25ad6d2411d18421ad5f4c1a312643a1 parent b87d1112ea479537bda5e1ba1e1100ee53315315 Author: Özgür Kesim <oec-taler@kesim.org> Date: Mon, 26 Jun 2023 09:44:22 +0200 -comment updates Diffstat:
| M | src/exchange/taler-exchange-httpd_age-withdraw.c | | | 8 | +++++--- |
| M | src/include/taler_exchangedb_plugin.h | | | 2 | +- |
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_age-withdraw.c b/src/exchange/taler-exchange-httpd_age-withdraw.c @@ -91,7 +91,11 @@ free_age_withdraw_context_resources (struct AgeWithdrawContext *awc) GNUNET_free (awc->denom_hs); GNUNET_free (awc->coin_evs); GNUNET_free (awc->commitment.denom_serials); - /* commitment.denom_serials and .h_coin_evs are stack allocated */ + /* + * Note: + * awc->commitment.denom_sigs and .h_coin_evs were stack allocated and + * .denom_pub_hashes is NULL for this context. + */ } @@ -420,8 +424,6 @@ are_denominations_valid ( struct TEH_KeyStateHandle *ksh; uint64_t *serials; - GNUNET_assert (*denom_serials == NULL); - ksh = TEH_keys_get_state (); if (NULL == ksh) { diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h @@ -1245,7 +1245,7 @@ struct TALER_EXCHANGEDB_AgeWithdraw uint64_t *denom_serials; /** - * Array of @a num_coins hashes of the public keys of the denominations + * [out]-Array of @a num_coins hashes of the public keys of the denominations * identified by @e denom_serials. This field is set when calling * get_age_withdraw */