alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

App is crashing on adding wallets having various number of airdrops and nfts

Open akshai-bee opened this issue 1 year ago • 0 comments

name: Bug Report about: App is crashing on adding wallets having various number of airdrops and nfts


Describe the bug Debug console is showing an error of : "Diffable data source detected item identifiers that are equal but have different hash values. Two identifiers which compare as equal must return the same hash value. You must fix this in the Hashable (Swift) or hash property (Objective-C) implementation for the type of these identifiers. Identifiers that are equal but have different hash values"

Steps to reproduce (REQUIRED) By adding an wallet with various number of nfts and airdrops

Error Description in detail (AlphaWallet.TokensViewModel.ViewModelType.nonFungible(AlphaWallet.NonFungibleTokenViewCellViewModel(safeShortTitleInPluralForm: "LIDO NFT", symbol: "LIDO NFT", nonZeroBalanceCount: 1, isVisible: true, type: AlphaWalletTokenScript.TokenType.erc1155, contractAddress: ethereumAddress:"", server: AlphaWalletCore.RPCServer.polygon, iconImage: AnyPublisher, accessoryType: __C.UITableViewCellAccessoryType, tokenViewModel: AlphaWalletFoundation.TokenViewModel(contractAddress: ethereumAddress: "" , symbol: "LIDO NFT", decimals: 0, server: AlphaWalletCore.RPCServer.polygon, type: AlphaWalletTokenS"

akshai-bee avatar Nov 28 '23 05:11 akshai-bee