diff options
author | Florian Dold <florian@dold.me> | 2023-10-10 15:21:20 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-10 15:21:20 +0200 |
commit | 5d1e0ae008050f75776f8421b3c24a87622cd4d7 (patch) | |
tree | 818fddbfb6c0fd80d9474bea716ffe188739cfbb /packages | |
parent | 47fdfc64a2e6a99a44f87974e608bdac5de83759 (diff) |
-modify mock currency spec
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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<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: {}, }, }; |