diff --git a/Example/WalletApp/PresentationLayer/Wallet/SessionProposal/SessionProposalInteractor.swift b/Example/WalletApp/PresentationLayer/Wallet/SessionProposal/SessionProposalInteractor.swift index 34c0f9880..ece832c35 100644 --- a/Example/WalletApp/PresentationLayer/Wallet/SessionProposal/SessionProposalInteractor.swift +++ b/Example/WalletApp/PresentationLayer/Wallet/SessionProposal/SessionProposalInteractor.swift @@ -11,7 +11,7 @@ final class SessionProposalInteractor { let supportedRequiredChains = proposal.requiredNamespaces["eip155"]?.chains let supportedOptionalChains = proposal.optionalNamespaces?["eip155"]?.chains ?? [] - let supportedChains = supportedRequiredChains?.union(supportedOptionalChains) ?? [] + let supportedChains = (supportedRequiredChains ?? []).union(supportedOptionalChains) ?? [] let supportedAccounts = Array(supportedChains).map { Account(blockchain: $0, address: account.address)! } diff --git a/Sources/Web3Wallet/Web3WalletDecryptionService.swift b/Sources/Web3Wallet/Web3WalletDecryptionService.swift index e4786129f..88b355b3b 100644 --- a/Sources/Web3Wallet/Web3WalletDecryptionService.swift +++ b/Sources/Web3Wallet/Web3WalletDecryptionService.swift @@ -1,5 +1,4 @@ import Foundation -import WalletConnectSign public final class Web3WalletDecryptionService { enum Errors: Error {