summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/taler-exchange-httpd_age-withdraw.c8
-rw-r--r--src/include/taler_exchangedb_plugin.h2
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
*/