Skip to content

Commit

Permalink
Fixed typo in error message (#592).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Aug 26, 2019
1 parent ae458a1 commit c303199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/utils/hdnode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class HDNode {
if (index >= HardenedBit) { throw new Error('invalid path index - ' + component); }
result = result._derive(index);
} else {
throw new Error('invlaid path component - ' + component);
throw new Error('invalid path component - ' + component);
}
}

Expand Down

0 comments on commit c303199

Please sign in to comment.