Skip to content

Commit

Permalink
[#21323] fix: wrong network selection from select account page
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri authored and Horupa-Olena committed Dec 3, 2024
1 parent 9eb6c45 commit a4195a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status_im/contexts/wallet/swap/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
account (or from-account
(swap-utils/current-viewing-account wallet)
(first available-accounts))
asset-to-pay (if (get-in data [:asset-to-pay :networks])
asset-to-pay (if (and (not from-account) (get-in data [:asset-to-pay :networks]))
(:asset-to-pay data)
(swap-utils/select-asset-to-pay-by-symbol
{:wallet wallet
Expand Down

0 comments on commit a4195a2

Please sign in to comment.