aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-10-10 15:21:20 +0200
committerFlorian Dold <florian@dold.me>2023-10-10 15:21:20 +0200
commit5d1e0ae008050f75776f8421b3c24a87622cd4d7 (patch)
tree818fddbfb6c0fd80d9474bea716ffe188739cfbb /packages
parent47fdfc64a2e6a99a44f87974e608bdac5de83759 (diff)
-modify mock currency spec
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/wallet.ts3
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: {},
},
};