brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 441 forks source link

Wallet: Update NFT balance cache after user made a NFT transaction #8558

Closed nuo-xu closed 8 months ago

nuo-xu commented 9 months ago

NFTs balances are cached in Portfolio to increase the performance. But currently the cache is not updated correctly after user made a NFT transaction. This will cause NFT tab to display incorrect NFTs when it's grouped by Account or Hide Unowned is toggled on.

srirambv commented 8 months ago

Verified as part of https://github.com/brave/brave-ios/issues/8560#issuecomment-1920959806