From 7c510388b9d789c35fc05bead7677b3de52a318e Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Wed, 10 Nov 2021 17:25:11 +0100 Subject: age restriction progress 2/n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Özgür Kesim --- src/lib/exchange_api_deposit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/exchange_api_deposit.c') 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 != -- cgit v1.2.3