-comment style
This commit is contained in:
parent
cd583ec030
commit
379c580efc
@ -441,8 +441,8 @@ parse_coin (struct MHD_Connection *connection,
|
|||||||
&coin->amount,
|
&coin->amount,
|
||||||
&coin->deposit_fee));
|
&coin->deposit_fee));
|
||||||
|
|
||||||
// Check and verify the age restriction. Needs to happen before
|
/* Check and verify the age restriction. Needs to happen before
|
||||||
// coin-signature check, because we set the h_age_commitment here.
|
coin-signature check, because we set the h_age_commitment here. */
|
||||||
{
|
{
|
||||||
if (no_attest != no_age_commitment)
|
if (no_attest != no_age_commitment)
|
||||||
|
|
||||||
@ -457,7 +457,7 @@ parse_coin (struct MHD_Connection *connection,
|
|||||||
|
|
||||||
if (! no_age_commitment)
|
if (! no_age_commitment)
|
||||||
{
|
{
|
||||||
// attestation must be valid.
|
/* attestation must be valid. */
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_age_commitment_verify (
|
TALER_age_commitment_verify (
|
||||||
&age_commitment,
|
&age_commitment,
|
||||||
@ -472,8 +472,8 @@ parse_coin (struct MHD_Connection *connection,
|
|||||||
"invalid attest for minimum age");
|
"invalid attest for minimum age");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save the hash of the age commitment in the coin's public info, so we
|
/* Save the hash of the age commitment in the coin's public info, so we
|
||||||
// can verify the signature later.
|
can verify the signature later. */
|
||||||
TALER_age_commitment_hash (&age_commitment,
|
TALER_age_commitment_hash (&age_commitment,
|
||||||
&coin->cpi.h_age_commitment);
|
&coin->cpi.h_age_commitment);
|
||||||
coin->cpi.no_age_commitment = false;
|
coin->cpi.no_age_commitment = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user