Update app.js

Fix extra zeros out of b32decode()
pull/1396/head
Andrew Gregory 2021-12-31 12:00:11 +08:00 committed by GitHub
parent 26079db909
commit d1e7a7a220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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);