Skip to content

Commit

Permalink
add watchonly in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
lynx56 committed Jan 17, 2024
1 parent 4876dc5 commit ec647b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ec647b5

Please sign in to comment.