AlphaWallet / AlphaWallet/alpha-wallet-ios

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

未关闭
#7,092 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
631
派生
384
PR 合并指标
30 天内没有已合并 PR

描述

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"

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。