pull/541/head
sidhujag 2020-09-10 11:54:12 -07:00
parent 447e9b2324
commit 0051c69f0a
1 changed files with 1 additions and 1 deletions

View File

@ -1207,7 +1207,7 @@ func (w *Worker) FindAssetsFromFilter(filter string) []*AssetsSpecific {
assetDetails := make([]*AssetsSpecific, 0)
filterLower := strings.ToLower(filter)
filterLower = strings.Replace(filterLower, "0x", "", -1)
for guid, assetCached := range w.db.GetAssetCache() {
for guid, assetCached := range *w.db.GetAssetCache() {
foundAsset := false
symbolLower := strings.ToLower(assetCached.AssetObj.Symbol)
if strings.Contains(symbolLower, filterLower) {