Skip to content

Commit cc302aa

Browse files
exo-mvclaude
andauthored
chore: use _32n const in base58.js (#72)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent fa5a081 commit cc302aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

base58.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function fromBase58core(str, alphabet, codes, format = 'uint8') {
162162

163163
while (x) {
164164
let y = Number(x & _0xffffffffn)
165-
x >>= 32n
165+
x >>= _32n
166166
res[--at] = y & 0xff
167167
y >>>= 8
168168
if (!x && !y) break

0 commit comments

Comments
 (0)