diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-03 19:13:28 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-03 19:13:33 -0300 |
commit | 1039689b52e6b775936f1e773dc835c0d6b28bb6 (patch) | |
tree | a439e2e744ce2928a02e80a42c0b446f73088856 /packages/taler-wallet-core/src/wallet.ts | |
parent | 954557e841d2d9a978b1b012f0fddc44c37add8a (diff) | |
download | wallet-core-1039689b52e6b775936f1e773dc835c0d6b28bb6.tar.xz |
update to dd51 and removing unused EC
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 2dc984979..e917e8059 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -932,9 +932,9 @@ async function dumpCoins(ws: InternalWalletState): Promise<CoinDumpJson> { ageCommitmentProof: c.ageCommitmentProof, spend_allocation: c.spendAllocation ? { - amount: c.spendAllocation.amount, - id: c.spendAllocation.id, - } + amount: c.spendAllocation.amount, + id: c.spendAllocation.id, + } : undefined, }); } @@ -1461,12 +1461,10 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( if (req.scope.currency === "KUDOS") { const kudosResp: GetCurrencySpecificationResponse = { currencySpecification: { - decimal_separator: ",", name: "Kudos (Taler Demonstrator)", num_fractional_input_digits: 2, num_fractional_normal_digits: 2, num_fractional_trailing_zero_digits: 2, - is_currency_name_leading: true, alt_unit_names: { "0": "ク", }, @@ -1476,14 +1474,12 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( } else if (req.scope.currency === "TESTKUDOS") { const testkudosResp: GetCurrencySpecificationResponse = { currencySpecification: { - decimal_separator: ",", name: "Test (Taler Unstable Demonstrator)", num_fractional_input_digits: 0, num_fractional_normal_digits: 0, num_fractional_trailing_zero_digits: 0, - is_currency_name_leading: false, alt_unit_names: { - "0": "テ", + "0": "テ", }, }, }; @@ -1491,14 +1487,12 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( } const defaultResp: GetCurrencySpecificationResponse = { currencySpecification: { - decimal_separator: ",", name: "Unknown", num_fractional_input_digits: 2, num_fractional_normal_digits: 2, num_fractional_trailing_zero_digits: 2, - is_currency_name_leading: true, alt_unit_names: { - "0": "??", + "0": "??", }, }, }; |