From ec647b5b4f391e65225689a00a9f30facd1c5a07 Mon Sep 17 00:00:00 2001 From: Holyberry <666lynx666@mail.ru> Date: Wed, 17 Jan 2024 09:18:53 +0300 Subject: [PATCH] add watchonly in filter --- .../Staking/StakingSetupProxy/StakingSetupProxyInteractor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novawallet/Modules/Staking/StakingSetupProxy/StakingSetupProxyInteractor.swift b/novawallet/Modules/Staking/StakingSetupProxy/StakingSetupProxyInteractor.swift index ccd325f891..0a0297897b 100644 --- a/novawallet/Modules/Staking/StakingSetupProxy/StakingSetupProxyInteractor.swift +++ b/novawallet/Modules/Staking/StakingSetupProxy/StakingSetupProxyInteractor.swift @@ -69,7 +69,7 @@ final class StakingSetupProxyInteractor: StakingProxyBaseInteractor, AccountFetc presenter?.didReceive(error: .fetchMetaAccounts(error)) presenter?.didReceive(yourWallets: []) case let .success(accounts): - let excludedWalletTypes: [MetaAccountModelType] = [ /* .watchOnly, */ .proxied] + let excludedWalletTypes: [MetaAccountModelType] = [.watchOnly, .proxied] let filteredAccounts = accounts.filter { !excludedWalletTypes.contains($0.metaAccount.type) && $0.chainAccountResponse != nil }