Skip to content

Commit c303199

Browse files
committed
Fixed typo in error message (ethers-io#592).
1 parent ae458a1 commit c303199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/utils/hdnode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class HDNode {
206206
if (index >= HardenedBit) { throw new Error('invalid path index - ' + component); }
207207
result = result._derive(index);
208208
} else {
209-
throw new Error('invlaid path component - ' + component);
209+
throw new Error('invalid path component - ' + component);
210210
}
211211
}
212212

0 commit comments

Comments
 (0)