Skip to content

Commit d2743b3

Browse files
committed
Remove more comments
1 parent 838f1f7 commit d2743b3

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

src/modules/select/wallets/ledger.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,6 @@ async function ledgerProvider(options: {
7373
BigNumber: any
7474
networkName: (id: number) => string
7575
}) {
76-
// const Web3ProviderEngine = (await import('web3-provider-engine')).default
77-
// const RpcSource = (await import('web3-provider-engine/subproviders/rpc'))
78-
// .default
79-
80-
// const HookedWalletSubprovider = (
81-
// await import('web3-provider-engine/subproviders/hooked-wallet')
82-
// ).default
83-
84-
// const TransportU2F = (await import('@ledgerhq/hw-transport-u2f')).default
85-
// const Eth = (await import('@ledgerhq/hw-app-eth')).default
86-
87-
// const EthereumTx = (await import('ethereumjs-tx')).Transaction
88-
8976
const { networkId, rpcUrl, BigNumber, networkName } = options
9077
const basePath = networkIdToDerivationPath(networkId)
9178

src/modules/select/wallets/trezor.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,6 @@ async function trezorProvider(options: {
8585
BigNumber: any
8686
networkName: (id: number) => string
8787
}) {
88-
// const Web3ProviderEngine = (await import('web3-provider-engine')).default
89-
// const RpcSource = (await import('web3-provider-engine/subproviders/rpc'))
90-
// .default
91-
92-
// const HookedWalletSubprovider = (
93-
// await import('web3-provider-engine/subproviders/hooked-wallet')
94-
// ).default
95-
96-
// const TrezorConnectLibrary = await import('trezor-connect')
97-
// const { default: TrezorConnect, DEVICE_EVENT, DEVICE } = TrezorConnectLibrary
98-
// const EthereumTx = (await import('ethereumjs-tx')).Transaction
99-
10088
const { networkId, email, appUrl, rpcUrl, BigNumber, networkName } = options
10189
const basePath = networkIdToDerivationPath(networkId)
10290

0 commit comments

Comments
 (0)