Skip to content

Commit d7a6b01

Browse files
CopilotChALkeR
andcommitted
Fix lint: rename loop variable from 'length' to 'len'
Co-authored-by: ChALkeR <291301+ChALkeR@users.noreply.github.com>
1 parent 7838a13 commit d7a6b01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/wif.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ test('invalid length throws before version check', async (t) => {
8282

8383
const invalidLengths = [0, 1, 4, 10, 32, 35, 50]
8484

85-
for (const length of invalidLengths) {
86-
const arr = new Uint8Array(length).fill(128)
85+
for (const len of invalidLengths) {
86+
const arr = new Uint8Array(len).fill(128)
8787
arr[0] = 42
8888
const encoded = toBase58checkSync(arr)
8989
const wrongVersion = 99

0 commit comments

Comments
 (0)