Pre-checks on verify input lengths (#608)

* Pre-checks on verify input lengths

* Small cleanup

* Update error signatures
This commit is contained in:
Jaco Greeff
2020-06-01 10:27:08 +02:00
committed by GitHub
parent cc5b7ed0ad
commit bdb14f91a8
12 changed files with 67 additions and 21 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export interface ExtractResult {
}
/**
* @description Extract derivation juntions from the supplied path
* @description Extract derivation junctions from the supplied path
*/
export default function keyExtractPath (derivePath: string): ExtractResult {
const parts = derivePath.match(RE_JUNCTION);