fix cannot add existing ENS owned by user (#18567)

This commit is contained in:
Parvesh Monu 2024-01-23 04:42:56 +05:30 committed by GitHub
parent 9c322397a2
commit 97d1b3faa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@
[db]
(into #{}
(remove #(= (:type %) :watch)
(map #(eip55/address->checksum (:address %)) (get db :profile/wallet-accounts)))))
(map #(eip55/address->checksum (:address %)) (vals (get-in db [:wallet :accounts]))))))
;;NOTE we want to handle only last resolve
(def resolve-last-id (atom nil))