Skip to content

Commit 91831e3

Browse files
[#21167] chore: resolve conflicts
1 parent 29aa61b commit 91831e3

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/status_im/contexts/wallet/wallet_connect/events/core.cljs

+5-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@
7070
(if (networks/event-should-be-handled? db event)
7171
{:fx [[:dispatch [:wallet-connect/process-session-request event]]]}
7272
{:fx [[:dispatch
73+
[:wallet-connect/show-session-networks-unsupported-toast event]]
74+
[:dispatch
7375
[:wallet-connect/send-response
74-
{:error (wallet-connect/get-sdk-error
75-
constants/wallet-connect-user-rejected-chains-error-key)}]]]})))
76+
{:request event
77+
:error (wallet-connect/get-sdk-error
78+
constants/wallet-connect-user-rejected-chains-error-key)}]]]})))
7679

7780
(rf/reg-event-fx
7881
:wallet-connect/reset-current-request

src/status_im/contexts/wallet/wallet_connect/events/session_proposals.cljs

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@
7171
:request proposal
7272
:session-networks session-networks
7373
:address (or current-viewing-address
74-
(first available-accounts)))
74+
(-> available-accounts
75+
first
76+
:address)))
7577
:fx [[:dispatch [:open-modal :screen/wallet.wallet-connect-session-proposal]]]}
7678
{:fx [[:dispatch [:wallet-connect/show-session-networks-unsupported-toast proposal]]
7779
[:dispatch [:wallet-connect/reject-session-proposal proposal]]]}))))

src/status_im/subs/wallet/dapps/transactions.cljs

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
max-fees-fiat (wallet-utils/calculate-token-fiat-value {:currency currency
5959
:balance max-fees-ether
6060
:token eth-token})
61-
max-fees-fiat-formatted (-> max-fees-ether
62-
(wallet-utils/get-standard-crypto-format eth-token)
61+
max-fees-fiat-formatted (-> (wallet-utils/get-standard-crypto-format eth-token max-fees-ether)
6362
(wallet-utils/get-standard-fiat-format currency-symbol
6463
max-fees-fiat))
6564
balance (-> eth-token

0 commit comments

Comments
 (0)