Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Disable Ledger TC temporarily #1823

Merged
merged 1 commit into from
Oct 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/renderer/views/wallet/WalletSettingsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
}
}

const thorLedgerWalletAddress: WalletAddress = useMemo(
// Disable TC Ledger temporarily #1822
const _thorLedgerWalletAddress: WalletAddress = useMemo(
() => ({
type: 'ledger',
address: FP.pipe(
Expand All @@ -144,7 +145,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
const walletAccounts$ = useMemo(() => {
const thorWalletAccount$ = walletAccount$({
addressUI$: thorAddressUI$,
ledgerAddress: thorLedgerWalletAddress,
// Disable TC Ledger temporarily #1822
// ledgerAddress: thorLedgerWalletAddress,
chain: THORChain
})
const btcWalletAccount$ = walletAccount$({ addressUI$: btcAddressUI$, chain: BTCChain })
Expand Down Expand Up @@ -174,7 +176,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
)
}, [
thorAddressUI$,
thorLedgerWalletAddress,
// Disable TC Ledger temporarily #1822
// thorLedgerWalletAddress,
btcAddressUI$,
ethAddressUI$,
bnbAddressUI$,
Expand Down