harness: set AM_THRESHOLD

It's now required by the exchange
This commit is contained in:
Florian Dold 2023-02-19 13:36:01 +01:00
parent cee1b80012
commit 0ee3f94463
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1009,6 +1009,8 @@ export class ExchangeService implements ExchangeServiceInterface {
static create(gc: GlobalTestState, e: ExchangeConfig) {
const config = new Configuration();
config.setString("taler", "currency", e.currency);
// Required by the exchange but not really used yet.
config.setString("taler", "aml_threshold", `${e.currency}:1000000`);
config.setString(
"taler",
"currency_round_unit",