-comment updates

This commit is contained in:
Özgür Kesim 2023-06-26 09:44:22 +02:00
parent b87d1112ea
commit c5c3a44c25
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7
2 changed files with 6 additions and 4 deletions

View File

@ -91,7 +91,11 @@ free_age_withdraw_context_resources (struct AgeWithdrawContext *awc)
GNUNET_free (awc->denom_hs); GNUNET_free (awc->denom_hs);
GNUNET_free (awc->coin_evs); GNUNET_free (awc->coin_evs);
GNUNET_free (awc->commitment.denom_serials); 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; struct TEH_KeyStateHandle *ksh;
uint64_t *serials; uint64_t *serials;
GNUNET_assert (*denom_serials == NULL);
ksh = TEH_keys_get_state (); ksh = TEH_keys_get_state ();
if (NULL == ksh) if (NULL == ksh)
{ {

View File

@ -1245,7 +1245,7 @@ struct TALER_EXCHANGEDB_AgeWithdraw
uint64_t *denom_serials; 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 * identified by @e denom_serials. This field is set when calling
* get_age_withdraw * get_age_withdraw
*/ */