From 72a02df646c2e54f84e37c7e1934ad89b69deff0 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 11 Sep 2024 14:20:00 +0200 Subject: [PATCH] Router clean up (#21235) * Router changes * Fix * Updated status-go version --- src/status_im/contexts/wallet/send/events.cljs | 4 ++-- src/status_im/contexts/wallet/swap/events.cljs | 4 ++-- status-go-version.json | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/status_im/contexts/wallet/send/events.cljs b/src/status_im/contexts/wallet/send/events.cljs index 29ba9cdbeb..6ecfd42fe9 100644 --- a/src/status_im/contexts/wallet/send/events.cljs +++ b/src/status_im/contexts/wallet/send/events.cljs @@ -478,7 +478,7 @@ :receiver-network-values receiver-network-values) (dissoc :network-links) (cond-> token (assoc :token token)))) - :json-rpc/call [{:method "wallet_getSuggestedRoutesV2Async" + :json-rpc/call [{:method "wallet_getSuggestedRoutesAsync" :params params :on-error (fn [error] (rf/dispatch [:wallet/suggested-routes-error error]) @@ -490,7 +490,7 @@ (rf/reg-event-fx :wallet/stop-get-suggested-routes (fn [] {:fx [[:dispatch [:wallet/clean-routes-calculation]]] - :json-rpc/call [{:method "wallet_stopSuggestedRoutesV2AsyncCalcualtion" + :json-rpc/call [{:method "wallet_stopSuggestedRoutesAsyncCalculation" :params [] :on-error (fn [error] (log/error "failed to stop suggested routes calculation" diff --git a/src/status_im/contexts/wallet/swap/events.cljs b/src/status_im/contexts/wallet/swap/events.cljs index 63bd770da0..5b8e7a8594 100644 --- a/src/status_im/contexts/wallet/swap/events.cljs +++ b/src/status_im/contexts/wallet/swap/events.cljs @@ -103,7 +103,7 @@ :amount amount :loading-swap-proposal? true) (dissoc :error-response))) - :json-rpc/call [{:method "wallet_getSuggestedRoutesV2Async" + :json-rpc/call [{:method "wallet_getSuggestedRoutesAsync" :params params :on-error (fn [error] (rf/dispatch [:wallet/swap-proposal-error error]) @@ -149,7 +149,7 @@ (rf/reg-event-fx :wallet/stop-get-swap-proposal (fn [] - {:json-rpc/call [{:method "wallet_stopSuggestedRoutesV2AsyncCalcualtion" + {:json-rpc/call [{:method "wallet_stopSuggestedRoutesAsyncCalculation" :params [] :on-error (fn [error] (log/error "failed to stop fetching swap proposals" diff --git a/status-go-version.json b/status-go-version.json index 5a4bc23781..0c0ce22e68 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.184.52", - "commit-sha1": "81cfce709e8d123eb1956b87f8e0f19dc47c122c", - "src-sha256": "0hna30ms4ccxmi20l5v36y84pva1s4jjkqg11whwmdjgw75d0fan" + "version": "900ad9be01de8bfce2c229c8fb0222b99606cf35", + "commit-sha1": "900ad9be01de8bfce2c229c8fb0222b99606cf35", + "src-sha256": "0axamynhkg4m4hcgdznz62lz0hvalb7rw0axziy6hvjxj2i9b3r4" }