diff options
author | Mikolai Gütschow <mikolai.guetschow@tu-dresden.de> | 2023-10-13 17:17:14 +0200 |
---|---|---|
committer | Mikolai Gütschow <mikolai.guetschow@tu-dresden.de> | 2023-10-13 17:17:31 +0200 |
commit | 8ae4ad93426fa054272e22ad2ac8b0dd06710c41 (patch) | |
tree | 029c3710fb537d584fb2149d860465c786a40b32 /packages/taler-util/src | |
parent | 49baf33f744c9427d586bc334f8d885aacbc543b (diff) | |
download | wallet-core-8ae4ad93426fa054272e22ad2ac8b0dd06710c41.tar.xz |
util: fix typo in decodeCrock/getValue
which didn't lead to bugs due to usage of `charCodeAt(0)`
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/taler-crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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": |