mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
fix(@wallet): prevent collectibles error due to irrelevant chain state
This commit is contained in:
parent
7047ecf2b6
commit
b5f2a11bc8
@ -70,7 +70,11 @@ QtObject:
|
|||||||
# Otherwise, if any address+chainID is updating, then the whole model is updating
|
# Otherwise, if any address+chainID is updating, then the whole model is updating
|
||||||
# Otherwise, the model is idle
|
# Otherwise, the model is idle
|
||||||
for address, statusPerChainID in self.ownershipStatus.pairs:
|
for address, statusPerChainID in self.ownershipStatus.pairs:
|
||||||
|
if not self.addresses.contains(address):
|
||||||
|
continue
|
||||||
for chainID, status in statusPerChainID:
|
for chainID, status in statusPerChainID:
|
||||||
|
if not self.chainIds.contains(chainID):
|
||||||
|
continue
|
||||||
if status.state == OwnershipStateError:
|
if status.state == OwnershipStateError:
|
||||||
overallState = OwnershipStateError
|
overallState = OwnershipStateError
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user