fix(wallet): respect limits for collectibles fetching
This commit is contained in:
parent
4a50e17d57
commit
a2b1640ad7
|
@ -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)}
|
||||
|
|
Loading…
Reference in New Issue