Fixed typo in error message (#592).
This commit is contained in:
parent
ae458a1a49
commit
c303199d26
@ -206,7 +206,7 @@ export class HDNode {
|
|||||||
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user