fix(wallet): respect limits for collectibles fetching

This commit is contained in:
Dario Gabriel Lipicar 2023-06-15 10:51:55 -03:00 committed by dlipicar
parent 4a50e17d57
commit a2b1640ad7
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ func (o *Client) fetchAssets(queryParams url.Values, limit int) (*AssetContainer
tmpLimit := AssetLimit
if limit > 0 && limit < tmpLimit {
tmpLimit = AssetLimit
tmpLimit = limit
}
queryParams["limit"] = []string{strconv.Itoa(tmpLimit)}