diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-02-17 12:23:06 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-02-18 00:30:19 +0100 |
commit | a78b3345fbf017b1cddfd09afb4b2c29287b0bba (patch) | |
tree | 45752022adc8b1661fb1662df40af4d58ab7d5f4 /src/exchange/taler-exchange-httpd_deposit.c | |
parent | 8bdf6ab19df70c16d335ecf82f2c3b2117eeb70e (diff) | |
download | exchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.tar.gz exchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.tar.bz2 exchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.zip |
[age restriction] progress 15/n - melt/refresh/reveal and recoup
Added age restriction support for
- melt/refresh/reveal
- recoup
However, tests are not yet implemented for those flows.
Also: minor fixes and refactoring.
Diffstat (limited to 'src/exchange/taler-exchange-httpd_deposit.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_deposit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c index d750ec70e..11a53ceaa 100644 --- a/src/exchange/taler-exchange-httpd_deposit.c +++ b/src/exchange/taler-exchange-httpd_deposit.c @@ -242,7 +242,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, &deposit.h_contract_terms), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_fixed_auto ("h_age_commitment", - &deposit.coin.age_commitment_hash)), + &deposit.coin.h_age_commitment)), GNUNET_JSON_spec_fixed_auto ("coin_sig", &deposit.csig), GNUNET_JSON_spec_timestamp ("timestamp", @@ -400,7 +400,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, &deposit.deposit_fee, &h_wire, &deposit.h_contract_terms, - &deposit.coin.age_commitment_hash, + &deposit.coin.h_age_commitment, NULL /* h_extensions! */, &deposit.coin.denom_pub_hash, deposit.timestamp, |