Fixed typo in error message (#592).

This commit is contained in:
Richard Moore 2019-08-26 15:59:43 -04:00
parent ae458a1a49
commit c303199d26
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

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