Skip to content

Commit a90be31

Browse files
committed
Add ledge live path to first get accounts
1 parent aa78741 commit a90be31

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/modules/select/wallets/ledger.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,13 @@ async function ledgerProvider(options: {
188188
i < numberToGet + addressesAlreadyFetched;
189189
i++
190190
) {
191-
const ledgerPath = `${basePath}/0'/${i}`
192-
const bipPath = `${basePath}/${i}'/0/0`
193-
paths.push(ledgerPath, bipPath)
191+
const ledgerLive = `${basePath}/${i}'/0/0`
192+
const legacy = `${basePath}/0'/${i}'`
193+
194+
paths.push(ledgerLive, legacy)
194195
}
195196
} else {
196-
paths.push(`${basePath}/0'/0`)
197+
paths.push(`${basePath}/0'/0`, `${basePath}/0'/0/0`)
197198
}
198199

199200
let transport

0 commit comments

Comments
 (0)