-start with new ENABLE_TIPPING option

This commit is contained in:
Christian Grothoff 2023-05-13 20:23:38 +02:00
parent 92df1cb1da
commit 90ca90b576
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1859,7 +1859,7 @@ exchange_serve_process_config (void)
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
GNUNET_config_get_amount (TEH_cfg,
TALER_config_get_amount (TEH_cfg,
"exchange",
"AML_THRESHOLD",
&TEH_aml_threshold))
@ -1868,11 +1868,12 @@ exchange_serve_process_config (void)
"Need amount in section `exchange' under `AML_THRESHOLD'\n");
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
TALER_config_get_amount (TEH_cfg,
TEH_enable_tipping
= GNUNET_CONFIGURATION_get_value_yesno (
TEH_cfg,
"exchange",
"ENABLE_TIPPING",
&TEH_aml_threshold))
"ENABLE_TIPPING");
if (GNUNET_SYSERR == TEH_enable_tipping)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Need YES or NO in section `exchange' under `ENABLE_TIPPING'\n");