Skip to content

Commit

Permalink
prefix contract-type with wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
BalogunofAfrica committed May 16, 2024
1 parent e0df363 commit 15ff3e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/status_im/constants.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -510,10 +510,10 @@
(def ^:const bridge-name-erc-1155-transfer "ERC1155Transfer")
(def ^:const bridge-name-hop "Hop")

(def ^:const contract-type-uknown 0)
(def ^:const contract-type-erc-20 1)
(def ^:const contract-type-erc-721 2)
(def ^:const contract-type-erc-1155 3)
(def ^:const wallet-contract-type-uknown 0)
(def ^:const wallet-contract-type-erc-20 1)
(def ^:const wallet-contract-type-erc-721 2)
(def ^:const wallet-contract-type-erc-1155 3)

(def ^:const alert-banner-height 40)

Expand Down
2 changes: 1 addition & 1 deletion src/status_im/contexts/wallet/send/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
(let [collection-data (:collection-data collectible)
collectible-data (:collectible-data collectible)
contract-type (:contract-type collectible)
tx-type (if (= contract-type constants/contract-type-erc-1155)
tx-type (if (= contract-type constants/wallet-contract-type-erc-1155)
:collectible-erc-1155
:collectible-erc-721)
collectible-id (get-in collectible [:id :token-id])
Expand Down

0 comments on commit 15ff3e2

Please sign in to comment.