parent
411c892022
commit
0f9d276032
|
@ -518,8 +518,8 @@
|
|||
|
||||
(rf/reg-event-fx
|
||||
:wallet/handle-suggested-routes
|
||||
(fn [_ data]
|
||||
(if-let [{:keys [code details]} (-> data :ErrorResponse first)]
|
||||
(fn [_ [data]]
|
||||
(if-let [{:keys [code details]} (-> data :ErrorResponse)]
|
||||
(let [error-message (if (= code "0") "An error occurred" details)]
|
||||
(log/error "failed to get suggested routes (async)"
|
||||
{:event :wallet/handle-suggested-routes
|
||||
|
@ -531,7 +531,6 @@
|
|||
candidates-fix (comp ->old-route-paths
|
||||
remove-invalid-bonder-fees-routes)
|
||||
routes (-> data
|
||||
(first)
|
||||
(data-store/rpc->suggested-routes)
|
||||
(update :best best-routes-fix)
|
||||
(update :candidates candidates-fix))]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||
"owner": "status-im",
|
||||
"repo": "status-go",
|
||||
"version": "fix/circuit-breaker-errors",
|
||||
"commit-sha1": "1abe2dec4c87ff6b9ca34ad93322abd602ab0e83",
|
||||
"src-sha256": "0y9csnfdmpnlb5a2imcyblzj2da02br55nqa16h9a8br4ym5q6iq"
|
||||
"version": "release/0.182.x",
|
||||
"commit-sha1": "90b3d0fdcc641917694dc665d44c59ae358aa363",
|
||||
"src-sha256": "13pyik8wfaczjqwzp6zpw18yha5ryw38cw6jcw3mdizb21l11jy4"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue