mirror of
https://github.com/status-im/status-go.git
synced 2025-02-21 19:28:29 +00:00
fix(wallet): respect limits for collectibles fetching
This commit is contained in:
parent
4a50e17d57
commit
a2b1640ad7
2
services/wallet/thirdparty/opensea/client.go
vendored
2
services/wallet/thirdparty/opensea/client.go
vendored
@ -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…
x
Reference in New Issue
Block a user