diff options
Diffstat (limited to 'packages/taler-wallet-cli/src')
-rw-r--r-- | packages/taler-wallet-cli/src/harness/helpers.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/harness/helpers.ts b/packages/taler-wallet-cli/src/harness/helpers.ts index 08c865ec1..aa970f76b 100644 --- a/packages/taler-wallet-cli/src/harness/helpers.ts +++ b/packages/taler-wallet-cli/src/harness/helpers.ts @@ -124,7 +124,11 @@ export async function createSimpleTestkudosEnvironment( exchange.enableAgeRestrictions(ageMaskSpec); // Enable age restriction for all coins. exchange.addCoinConfigList( - coinConfig.map((x) => ({ ...x, ageRestricted: true })), + coinConfig.map((x) => ({ + ...x, + name: `${x.name}-age`, + ageRestricted: true, + })), ); // For mixed age restrictions, we also offer coins without age restrictions if (opts.mixedAgeRestriction) { |