From c5c3a44c25ad6d2411d18421ad5f4c1a312643a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Mon, 26 Jun 2023 09:44:22 +0200 Subject: [PATCH] -comment updates --- src/exchange/taler-exchange-httpd_age-withdraw.c | 8 +++++--- 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 index e7f8b53fc..6e337e5e1 100644 --- 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 index 169359073..fb8bb2894 100644 --- 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 */