From d1e7a7a220626070f7e9f1a29211dec9bd9bec6c Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 31 Dec 2021 12:00:11 +0800 Subject: [PATCH] Update app.js Fix extra zeros out of b32decode() --- apps/authentiwatch/app.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/authentiwatch/app.js b/apps/authentiwatch/app.js index de3d02163..d2a72c8a8 100644 --- a/apps/authentiwatch/app.js +++ b/apps/authentiwatch/app.js @@ -45,9 +45,6 @@ function b32decode(seedstr) { } } } - if (bitcount > 0) { - retstr += String.fromCharCode(buf << (8 - bitcount)); - } var retbuf = new Uint8Array(retstr.length); for (i in retstr) { retbuf[i] = retstr.charCodeAt(i);