Skip to content

Commit

Permalink
fix: normalize derivation path prior deriving keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed May 26, 2023
1 parent c94aa37 commit 2220da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chrome/dev-tools/hd-wallet/hd-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export class BaseHdWallet {
}

public deriveFullPath(path: string): Keys {
return this.slip10.derivePath(path)
return this.slip10.derivePath(path.split('H').join(`'`))
}
}

0 comments on commit 2220da7

Please sign in to comment.