Fixed typo in error message (#592).
This commit is contained in:
parent
3a91e91df5
commit
019c1fc708
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user