aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-cli/src/lint.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/lint.ts b/packages/taler-wallet-cli/src/lint.ts
index 22d08bb0f..662571907 100644
--- a/packages/taler-wallet-cli/src/lint.ts
+++ b/packages/taler-wallet-cli/src/lint.ts
@@ -155,7 +155,7 @@ function checkCoinConfig(context: LintContext, basic: BasicConf): void {
let numCoins = 0;
for (const secName of cfg.getSectionNames()) {
- if (!secName.startsWith(coinPrefix1) && !secName.startsWith(coinPrefix2)) {
+ if (!secName.startsWith(coinPrefix1) || !secName.startsWith(coinPrefix2)) {
continue;
}
numCoins++;