-libeufin config

This commit is contained in:
Florian Dold 2023-09-24 22:46:46 +02:00
parent 7b93938e71
commit 361d92fe31
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -735,7 +735,7 @@ export class LibeufinBankService
const config = new Configuration();
const testDir = bc.overrideTestDir ?? gc.testDir;
setTalerPaths(config, testDir + "/talerhome");
config.setString("libeufin-bankdb", "config", bc.database);
config.setString("libeufin-bankdb-postgres", "config", bc.database);
config.setString("libeufin-bank", "currency", bc.currency);
config.setString("libeufin-bank", "port", `${bc.httpPort}`);
config.setString("libeufin-bank", "serve", "tcp");
@ -775,7 +775,7 @@ export class LibeufinBankService
true,
currency: config.getString("libeufin-bank", "currency").required(),
database: config
.getString("libeufin-bankdb", "config")
.getString("libeufin-bankdb-postgres", "config")
.required(),
httpPort: config.getNumber("libeufin-bank", "port").required(),
maxDebt: config