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++;