aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-06-27 09:48:07 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-06-27 09:48:07 +0200
commit2f21fa24e477d80449d8ee1d82c0de5c1755786a (patch)
treeb3dc62b0d26837d6ba29f9eac05d3c1e64e5b66b
parent89de1678ef1cd0967fde4c08acf894e611da6551 (diff)
downloadexchange-2f21fa24e477d80449d8ee1d82c0de5c1755786a.tar.xz
-rename variable
-rw-r--r--src/exchange/taler-exchange-httpd_batch-withdraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index 7455778ad..270ee0ca9 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -311,7 +311,7 @@ batch_withdraw_transaction (void *cls,
bool found = false;
bool balance_ok = false;
bool age_ok = false;
- uint16_t required_age = 0;
+ uint16_t allowed_maximum_age = 0;
char *kyc_required;
struct TALER_PaytoHashP reserve_h_payto;
@@ -479,7 +479,7 @@ batch_withdraw_transaction (void *cls,
&found,
&balance_ok,
&age_ok,
- &required_age,
+ &allowed_maximum_age,
&ruuid);
if (0 > qs)
{
@@ -508,7 +508,7 @@ batch_withdraw_transaction (void *cls,
* of the required age */
uint16_t lowest_age = TALER_get_lowest_age (
&TEH_age_restriction_config.mask,
- required_age);
+ allowed_maximum_age);
TEH_plugin->rollback (TEH_plugin->cls);
*mhd_ret = TEH_RESPONSE_reply_reserve_age_restriction_required (