gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: util: fix typo in decodeCrock


From: gnunet
Subject: [taler-wallet-core] branch master updated: util: fix typo in decodeCrock/getValue
Date: Fri, 13 Oct 2023 17:18:53 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 8ae4ad934 util: fix typo in decodeCrock/getValue
8ae4ad934 is described below

commit 8ae4ad93426fa054272e22ad2ac8b0dd06710c41
Author: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
AuthorDate: Fri Oct 13 17:17:14 2023 +0200

    util: fix typo in decodeCrock/getValue
    
    which didn't lead to bugs due to usage of `charCodeAt(0)`
---
 packages/taler-util/src/taler-crypto.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-util/src/taler-crypto.ts 
b/packages/taler-util/src/taler-crypto.ts
index 3ad388794..de870955b 100644
--- a/packages/taler-util/src/taler-crypto.ts
+++ b/packages/taler-util/src/taler-crypto.ts
@@ -123,7 +123,7 @@ function getValue(chr: string): number {
   switch (chr) {
     case "O":
     case "o":
-      a = "0;";
+      a = "0";
       break;
     case "i":
     case "I":

-- 
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]