aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/talerCrypto-test.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
commitf36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch)
tree9a242a06bd5353c8b167600c31776c9f16d9d21c /src/crypto/talerCrypto-test.ts
parent07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff)
downloadwallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz
linter
Diffstat (limited to 'src/crypto/talerCrypto-test.ts')
-rw-r--r--src/crypto/talerCrypto-test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/talerCrypto-test.ts b/src/crypto/talerCrypto-test.ts
index 11068f7d4..1efa766f3 100644
--- a/src/crypto/talerCrypto-test.ts
+++ b/src/crypto/talerCrypto-test.ts
@@ -40,7 +40,7 @@ function hexToBytes(hex: string) {
function bytesToHex(bytes: Uint8Array): string {
for (var hex = [], i = 0; i < bytes.length; i++) {
- var current = bytes[i] < 0 ? bytes[i] + 256 : bytes[i];
+ const current = bytes[i] < 0 ? bytes[i] + 256 : bytes[i];
hex.push((current >>> 4).toString(16));
hex.push((current & 0xf).toString(16));
}