Fixed typo in error message (#592).

This commit is contained in:
Richard Moore 2019-08-26 16:00:51 -04:00
parent 3a91e91df5
commit 019c1fc708
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -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);
}
}