taler-typescript-core

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

commit 5d1e0ae008050f75776f8421b3c24a87622cd4d7
parent 47fdfc64a2e6a99a44f87974e608bdac5de83759
Author: Florian Dold <florian@dold.me>
Date:   Tue, 10 Oct 2023 15:21:20 +0200

-modify mock currency spec

Diffstat:
Mpackages/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 @@ -1445,6 +1445,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( }, }, }; + return kudosResp; } else if (req.scope.currency === "TESTKUDOS") { const testkudosResp: GetCurrencySpecificationResponse = { currencySpecification: { @@ -1453,7 +1454,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( 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: {}, }, };