summaryrefslogtreecommitdiff
path: root/src/crypto/talerCrypto-test.ts
diff options
context:
space:
mode:
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));
}