Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
fetch spam nft regardless of the number of auto-discovered assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuo-xu committed Feb 6, 2024
1 parent 0b023e3 commit aec0e7e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/BraveWallet/Crypto/Stores/CryptoStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,7 @@ public class CryptoStore: ObservableObject, WalletObserverStore {
}
}
dispatchGroup.notify(queue: .main) {
if !discoveredAssets.isEmpty {
self.updateAutoDiscoveredAssets()
}
self.updateAutoDiscoveredAssets()
}
} else {
self.autoDiscoveredAssets.append(contentsOf: discoveredAssets)
Expand Down

0 comments on commit aec0e7e

Please sign in to comment.