summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_deposit.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-11-10 17:25:11 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2021-11-10 17:27:49 +0100
commit7c510388b9d789c35fc05bead7677b3de52a318e (patch)
tree43750109ca78184551dff403c881aa7e205152f9 /src/lib/exchange_api_deposit.c
parent77bab625607514a628dfda101e55c7d57f6b623d (diff)
downloadexchange-7c510388b9d789c35fc05bead7677b3de52a318e.tar.gz
exchange-7c510388b9d789c35fc05bead7677b3de52a318e.tar.bz2
exchange-7c510388b9d789c35fc05bead7677b3de52a318e.zip
age restriction progress 2/n
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
Diffstat (limited to 'src/lib/exchange_api_deposit.c')
-rw-r--r--src/lib/exchange_api_deposit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/exchange_api_deposit.c b/src/lib/exchange_api_deposit.c
index e857c8ea1..39397425a 100644
--- a/src/lib/exchange_api_deposit.c
+++ b/src/lib/exchange_api_deposit.c
@@ -462,9 +462,9 @@ handle_deposit_finished (void *cls,
* @param h_wire hash of the merchant’s account details
* @param h_contract_terms hash of the contact of the merchant with the customer (further details are never disclosed to the exchange)
* @param coin_pub coin’s public key
+ * @param denom_sig exchange’s unblinded signature of the coin
* @param denom_pub denomination key with which the coin is signed
* @param denom_pub_hash hash of @a denom_pub
- * @param denom_sig exchange’s unblinded signature of the coin
* @param timestamp timestamp when the deposit was finalized
* @param merchant_pub the public key of the merchant (used to identify the merchant for refund requests)
* @param refund_deadline date until which the merchant can issue a refund to the customer via the exchange (can be zero if refunds are not allowed)
@@ -512,7 +512,8 @@ verify_signatures (const struct TALER_EXCHANGE_DenomPublicKey *dki,
struct TALER_CoinPublicInfo coin_info = {
.coin_pub = *coin_pub,
.denom_pub_hash = *denom_pub_hash,
- .denom_sig = *denom_sig
+ .denom_sig = *denom_sig,
+ .age_commitment_hash = coin_pub->age_commitment_hash
};
if (GNUNET_YES !=