From 5d1e0ae008050f75776f8421b3c24a87622cd4d7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 10 Oct 2023 15:21:20 +0200 Subject: [PATCH] -modify mock currency spec --- packages/taler-wallet-core/src/wallet.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 42293735e..571bf07ee 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1445,6 +1445,7 @@ async function dispatchRequestInternal( }, }, }; + return kudosResp; } else if (req.scope.currency === "TESTKUDOS") { const testkudosResp: GetCurrencySpecificationResponse = { currencySpecification: { @@ -1453,7 +1454,7 @@ async function dispatchRequestInternal( fractional_input_digits: 0, fractional_normal_digits: 0, fractional_trailing_zero_digits: 0, - is_currency_name_leading: true, + is_currency_name_leading: false, alt_unit_names: {}, }, };