mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
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
|
||||
(fn [{:keys [db]} [{:keys [start-at-index new-request?]}]]
|
||||
(let [request-params [0
|
||||
[(chain/chain-id db)]
|
||||
(map :address (:profile/wallet-accounts db))
|
||||
start-at-index
|
||||
collectibles-request-batch-size]]
|
||||
(let [request-id 0
|
||||
collectibles-filter nil
|
||||
request-params [request-id
|
||||
[(chain/chain-id db)]
|
||||
(map :address (:profile/wallet-accounts db))
|
||||
collectibles-filter
|
||||
start-at-index
|
||||
collectibles-request-batch-size]]
|
||||
{:json-rpc/call [{:method "wallet_filterOwnedCollectiblesAsync"
|
||||
:params request-params
|
||||
:on-success #()
|
||||
|
Loading…
x
Reference in New Issue
Block a user