check currency matches before proceeding
This commit is contained in:
parent
b414183283
commit
0fe0c414e2
@ -1884,6 +1884,13 @@ exchange_serve_process_config (void)
|
|||||||
"Need amount in section `TALER' under `AML_THRESHOLD'\n");
|
"Need amount in section `TALER' under `AML_THRESHOLD'\n");
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
|
if (0 != strcmp (TEH_currency,
|
||||||
|
TEH_aml_threshold.currency))
|
||||||
|
{
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
|
"Amount in section `TALER' under `AML_THRESHOLD' uses the wrong currency!\n");
|
||||||
|
return GNUNET_SYSERR;
|
||||||
|
}
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_CONFIGURATION_get_value_string (TEH_cfg,
|
GNUNET_CONFIGURATION_get_value_string (TEH_cfg,
|
||||||
"exchange",
|
"exchange",
|
||||||
|
Loading…
Reference in New Issue
Block a user