Skip to content

Commit db0f2f9

Browse files
committed
Only use mainnet derivation path
1 parent 1c55095 commit db0f2f9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/modules/select/wallets/ledger.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,8 @@ async function ledgerProvider(options: {
287287

288288
function networkIdToDerivationPath(networkId: number) {
289289
switch (networkId) {
290-
case 1:
291-
return `m/44'/60'`
292290
default:
293-
return `m/44'/1'`
291+
return `m/44'/60'`
294292
}
295293
}
296294

src/modules/select/wallets/trezor.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,8 @@ async function trezorProvider(options: {
304304

305305
function networkIdToDerivationPath(networkId: number) {
306306
switch (networkId) {
307-
case 1:
308-
return `m/44'/60'`
309307
default:
310-
return `m/44'/1'`
308+
return `m/44'/60'`
311309
}
312310
}
313311

0 commit comments

Comments
 (0)