aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_get_age_withdraw_info.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-03-13 00:31:49 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-03-13 00:31:49 +0100
commit187ae6f8a2231628be944ae43ef53f47b8428d12 (patch)
tree40298af848d265e79ab5bf8e7271e7dc3f7abe67 /src/exchangedb/pg_get_age_withdraw_info.c
parent62da9cca275d7a37a640a962c0d04278288986f6 (diff)
downloadexchange-187ae6f8a2231628be944ae43ef53f47b8428d12.tar.xz
WIP: age-withdraw, continue verify_commitment_and_max_age, 7/n
- coin, blinding, nonce and age restriction now derived from TALER_PlanchetMasterSecretP - use max_age instead than max_age_group as argument - Also, docs updated in other repo.
Diffstat (limited to 'src/exchangedb/pg_get_age_withdraw_info.c')
-rw-r--r--src/exchangedb/pg_get_age_withdraw_info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchangedb/pg_get_age_withdraw_info.c b/src/exchangedb/pg_get_age_withdraw_info.c
index 7662d4b51..02ccc84ac 100644
--- a/src/exchangedb/pg_get_age_withdraw_info.c
+++ b/src/exchangedb/pg_get_age_withdraw_info.c
@@ -45,8 +45,8 @@ TEH_PG_get_age_withdraw_info (
&awc->reserve_sig),
GNUNET_PQ_result_spec_auto_from_type ("reserve_pub",
&awc->reserve_pub),
- GNUNET_PQ_result_spec_uint32 ("max_age_group",
- &awc->max_age_group),
+ GNUNET_PQ_result_spec_uint32 ("max_age",
+ &awc->max_age),
TALER_PQ_RESULT_SPEC_AMOUNT ("amount_with_fee",
&awc->amount_with_fee),
GNUNET_PQ_result_spec_uint32 ("noreveal_index",
@@ -66,7 +66,7 @@ TEH_PG_get_age_withdraw_info (
" h_commitment"
",reserve_sig"
",reserve_pub"
- ",max_age_group"
+ ",max_age"
",amount_with_fee_val"
",amount_with_fee_frac"
",noreveal_index"