taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 03b2e064c23382a0251a3b91bec1f8430acf6c95
parent 4240e1b7678232c062919a454d5fd0f4bb3cb92d
Author: Florian Dold <florian@dold.me>
Date:   Mon,  5 Sep 2022 22:33:51 +0200

-fix test setup

Diffstat:
Mpackages/taler-wallet-cli/src/harness/helpers.ts | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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) {