Skip to content

Commit 8bebaf7

Browse files
fix: remove imprecise bias number from PIN_BYTES comment
1 parent 8505de2 commit 8bebaf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/encoding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function encodeAsWords(
3939
/**
4040
* Minimum bytes per digit count to keep max per-value bias below 1%.
4141
* Each entry is the smallest b where `floor(2^(b×8) / 10^digits) >= 100`,
42-
* except d=10 which uses b=6 (not b=5) for a tighter 0.004% bias.
42+
* except d=10 which uses b=6 (not b=5) for a tighter bias.
4343
* Index 0 is unused; indices 1–10 correspond to digit counts 1–10.
4444
*/
4545
const PIN_BYTES: readonly number[] = [0, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6]

0 commit comments

Comments
 (0)