exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 379c580efc9d8da331e1d32dbde28111caf18a9b
parent cd583ec0309d8384e871e8dc725d7390e4ee0088
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 28 Jun 2022 18:01:19 +0200

-comment style

Diffstat:
Msrc/exchange/taler-exchange-httpd_purses_deposit.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_purses_deposit.c b/src/exchange/taler-exchange-httpd_purses_deposit.c @@ -441,8 +441,8 @@ parse_coin (struct MHD_Connection *connection, &coin->amount, &coin->deposit_fee)); - // Check and verify the age restriction. Needs to happen before - // coin-signature check, because we set the h_age_commitment here. + /* Check and verify the age restriction. Needs to happen before + coin-signature check, because we set the h_age_commitment here. */ { if (no_attest != no_age_commitment) @@ -457,7 +457,7 @@ parse_coin (struct MHD_Connection *connection, if (! no_age_commitment) { - // attestation must be valid. + /* attestation must be valid. */ if (GNUNET_OK != TALER_age_commitment_verify ( &age_commitment, @@ -472,8 +472,8 @@ parse_coin (struct MHD_Connection *connection, "invalid attest for minimum age"); } - // Save the hash of the age commitment in the coin's public info, so we - // can verify the signature later. + /* Save the hash of the age commitment in the coin's public info, so we + can verify the signature later. */ TALER_age_commitment_hash (&age_commitment, &coin->cpi.h_age_commitment); coin->cpi.no_age_commitment = false;