Respect status-go API changes for collectibles request (#17857)
This commit is contained in:
parent
4eda8bb6b3
commit
e573fc914a
|
@ -201,11 +201,14 @@
|
||||||
|
|
||||||
(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
|
||||||
[(chain/chain-id db)]
|
collectibles-filter nil
|
||||||
(map :address (:profile/wallet-accounts db))
|
request-params [request-id
|
||||||
start-at-index
|
[(chain/chain-id db)]
|
||||||
collectibles-request-batch-size]]
|
(map :address (:profile/wallet-accounts db))
|
||||||
|
collectibles-filter
|
||||||
|
start-at-index
|
||||||
|
collectibles-request-batch-size]]
|
||||||
{:json-rpc/call [{:method "wallet_filterOwnedCollectiblesAsync"
|
{:json-rpc/call [{:method "wallet_filterOwnedCollectiblesAsync"
|
||||||
:params request-params
|
:params request-params
|
||||||
:on-success #()
|
:on-success #()
|
||||||
|
|
Loading…
Reference in New Issue