From 8ae4ad93426fa054272e22ad2ac8b0dd06710c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Fri, 13 Oct 2023 17:17:14 +0200 Subject: [PATCH] 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":