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 3a91e91 commit 019c1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hdnode/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export class HDNode implements ExternallyOwnedAccount {
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 019c1fc

Please sign in to comment.