From a4195a2082c0a1fd7837587388e25b9191298f6d Mon Sep 17 00:00:00 2001 From: Mohsen Date: Mon, 2 Dec 2024 11:00:16 +0300 Subject: [PATCH] [#21323] fix: wrong network selection from select account page --- src/status_im/contexts/wallet/swap/events.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/contexts/wallet/swap/events.cljs b/src/status_im/contexts/wallet/swap/events.cljs index 22d05def1f4..c0ef94b4206 100644 --- a/src/status_im/contexts/wallet/swap/events.cljs +++ b/src/status_im/contexts/wallet/swap/events.cljs @@ -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