gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: better mock defa


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: better mock default for currency specs
Date: Mon, 22 Jan 2024 22:25:50 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 6a4675267 wallet-core: better mock default for currency specs
6a4675267 is described below

commit 6a4675267e00a5fd0eeb9b949e156510fc491602
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Jan 22 22:25:45 2024 +0100

    wallet-core: better mock default for currency specs
---
 packages/taler-wallet-core/src/wallet.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/wallet.ts 
b/packages/taler-wallet-core/src/wallet.ts
index 333e42621..51706fed3 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -1258,12 +1258,12 @@ async function dispatchRequestInternal<Op extends 
WalletApiOperation>(
       }
       const defaultResp: GetCurrencySpecificationResponse = {
         currencySpecification: {
-          name: "Unknown",
+          name: req.scope.currency,
           num_fractional_input_digits: 2,
           num_fractional_normal_digits: 2,
           num_fractional_trailing_zero_digits: 2,
           alt_unit_names: {
-            "0": "??",
+            "0": req.scope.currency,
           },
         },
       };

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]