-start with new ENABLE_TIPPING option
This commit is contained in:
parent
92df1cb1da
commit
90ca90b576
@ -1859,20 +1859,21 @@ exchange_serve_process_config (void)
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_config_get_amount (TEH_cfg,
|
TALER_config_get_amount (TEH_cfg,
|
||||||
"exchange",
|
"exchange",
|
||||||
"AML_THRESHOLD",
|
"AML_THRESHOLD",
|
||||||
&TEH_aml_threshold))
|
&TEH_aml_threshold))
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Need amount in section `exchange' under `AML_THRESHOLD'\n");
|
"Need amount in section `exchange' under `AML_THRESHOLD'\n");
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (GNUNET_OK !=
|
TEH_enable_tipping
|
||||||
TALER_config_get_amount (TEH_cfg,
|
= GNUNET_CONFIGURATION_get_value_yesno (
|
||||||
"exchange",
|
TEH_cfg,
|
||||||
"ENABLE_TIPPING",
|
"exchange",
|
||||||
&TEH_aml_threshold))
|
"ENABLE_TIPPING");
|
||||||
|
if (GNUNET_SYSERR == TEH_enable_tipping)
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Need YES or NO in section `exchange' under `ENABLE_TIPPING'\n");
|
"Need YES or NO in section `exchange' under `ENABLE_TIPPING'\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user