fix "To Base45" ( #1351 )

This commit is contained in:
MikeCAT 2022-05-20 11:59:04 +00:00
parent 477e4a7421
commit 11da4188ee
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ class ToBase45 extends Operation {
if (chars < 2) {
res.push("0");
chars++;
}
if (pair.length > 1 && chars < 3) {
res.push("0");
}
}