Skip to content

Commit

Permalink
Merge pull request #261 from forbole/dev
Browse files Browse the repository at this point in the history
fix hd path on sign transaction
  • Loading branch information
calvinkei committed Sep 6, 2021
2 parents 0954107 + 622abd1 commit 0533573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc/signAndBroadcastTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const signAndBroadcastCosmosTransaction = async (
ledgerTransport?: any
): Promise<any> => {
const signerOptions = {
hdPaths: [stringToPath(`m/44'/${cryptocurrencies[crypto].coinType}'/0'/0/${index}`)],
hdPaths: [stringToPath(`m/44'/${cryptocurrencies[crypto].coinType}'/${index}'/0/0`)],
prefix: cryptocurrencies[crypto].prefix,
}
let signer
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "forbole-x",
"version": "0.4.6",
"version": "0.4.7",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 0533573

Please sign in to comment.