Fix typo in error message (#272).

This commit is contained in:
Richard Moore 2018-09-20 15:46:04 -04:00
parent 829a56cc79
commit 25337d4543
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -112,7 +112,7 @@ utils.defineProperty(HDNode.prototype, 'derivePath', function(path) {
if (index >= HardenedBit) { throw new Error('invalid path index - ' + component); } if (index >= HardenedBit) { throw new Error('invalid path index - ' + component); }
result = result._derive(index); result = result._derive(index);
} else { } else {
throw new Error('invlaid path component - ' + component); throw new Error('invalid path component - ' + component);
} }
} }