mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 02:35:54 +00:00
bug #4832 - not showing erc721 in transaction history as if it was erc20
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
3030c10c5f
commit
63da0ffb50
@ -87,6 +87,7 @@
|
||||
(keep identity
|
||||
(for [transfer transfers]
|
||||
(if-let [token (->> transfer :address (tokens/address->token chain))]
|
||||
(when-not (:nft? token)
|
||||
[(:transactionHash transfer)
|
||||
{:block (-> block-info :number str)
|
||||
:hash (:transactionHash transfer)
|
||||
@ -116,7 +117,7 @@
|
||||
;; NOTE(goranjovic) - just a flag we need when we merge this entry with the existing entry in
|
||||
;; the app, e.g. transaction info with gas details, or a previous transfer entry with old
|
||||
;; confirmations count.
|
||||
:transfer true}])))))
|
||||
:transfer true}]))))))
|
||||
|
||||
(defn add-block-info [web3 current-block-number chain direction result success-fn]
|
||||
(let [transfers-by-block (group-by :blockNumber result)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user