summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-05 22:43:14 +0200
committerFlorian Dold <florian@dold.me>2021-08-05 22:43:14 +0200
commitcd15937dadc43c1b535e226022d93fda08254cdf (patch)
tree3ab393af9e4bbe7b7a29f4eeefc3e72101603499 /packages/taler-wallet-cli
parent09b07d614747587ac567632c2193b784f6d7402e (diff)
downloadwallet-core-cd15937dadc43c1b535e226022d93fda08254cdf.tar.gz
wallet-core-cd15937dadc43c1b535e226022d93fda08254cdf.tar.bz2
wallet-core-cd15937dadc43c1b535e226022d93fda08254cdf.zip
fix section comparison
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/harness.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts
index 67abdcaca..77961ff13 100644
--- a/packages/taler-wallet-cli/src/integrationtests/harness.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts
@@ -926,11 +926,6 @@ export class ExchangeService implements ExchangeServiceInterface {
config.setString(`exchange-account-${localName}`, "enable_debit", "yes");
config.setString(
`exchange-accountcredentials-${localName}`,
- "payto_uri",
- exchangeBankAccount.accountPaytoUri,
- );
- config.setString(
- `exchange-accountcredentials-${localName}`,
"wire_gateway_url",
exchangeBankAccount.wireGatewayApiBaseUrl,
);
@@ -1021,7 +1016,7 @@ export class ExchangeService implements ExchangeServiceInterface {
const config = Configuration.load(this.configFilename);
for (const sectionName of config.getSectionNames()) {
- if (sectionName.startsWith("exchange-account")) {
+ if (sectionName.startsWith("EXCHANGE_ACCOUNT")) {
const paytoUri = config.getString(sectionName, "payto_uri").required();
const p = parsePaytoUri(paytoUri);
if (!p) {