mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
Respect status-go API changes for collectibles request (#17857)
This commit is contained in:
parent
4eda8bb6b3
commit
e573fc914a
@ -201,9 +201,12 @@
|
|||||||
|
|
||||||
(rf/reg-event-fx :wallet/request-collectibles
|
(rf/reg-event-fx :wallet/request-collectibles
|
||||||
(fn [{:keys [db]} [{:keys [start-at-index new-request?]}]]
|
(fn [{:keys [db]} [{:keys [start-at-index new-request?]}]]
|
||||||
(let [request-params [0
|
(let [request-id 0
|
||||||
|
collectibles-filter nil
|
||||||
|
request-params [request-id
|
||||||
[(chain/chain-id db)]
|
[(chain/chain-id db)]
|
||||||
(map :address (:profile/wallet-accounts db))
|
(map :address (:profile/wallet-accounts db))
|
||||||
|
collectibles-filter
|
||||||
start-at-index
|
start-at-index
|
||||||
collectibles-request-batch-size]]
|
collectibles-request-batch-size]]
|
||||||
{:json-rpc/call [{:method "wallet_filterOwnedCollectiblesAsync"
|
{:json-rpc/call [{:method "wallet_filterOwnedCollectiblesAsync"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user