[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix section comparison
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix section comparison |
Date: |
Thu, 05 Aug 2021 22:43:20 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new cd15937d fix section comparison
cd15937d is described below
commit cd15937dadc43c1b535e226022d93fda08254cdf
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Aug 5 22:43:14 2021 +0200
fix section comparison
---
packages/taler-util/src/talerconfig.ts | 2 +-
packages/taler-wallet-cli/src/integrationtests/harness.ts | 7 +------
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/packages/taler-util/src/talerconfig.ts
b/packages/taler-util/src/talerconfig.ts
index dbdb9350..37aace10 100644
--- a/packages/taler-util/src/talerconfig.ts
+++ b/packages/taler-util/src/talerconfig.ts
@@ -541,7 +541,7 @@ export class Configuration {
}
/**
- * Get lower-cased section names.
+ * Get upper-cased section names.
*/
getSectionNames(): string[] {
return Object.keys(this.sectionMap).map((x) => x.toUpperCase());
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts
b/packages/taler-wallet-cli/src/integrationtests/harness.ts
index 67abdcac..77961ff1 100644
--- a/packages/taler-wallet-cli/src/integrationtests/harness.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts
@@ -924,11 +924,6 @@ export class ExchangeService implements
ExchangeServiceInterface {
);
config.setString(`exchange-account-${localName}`, "enable_credit", "yes");
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",
@@ -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) {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix section comparison,
gnunet <=