diff --git a/src/status_im/wallet/core.cljs b/src/status_im/wallet/core.cljs index 0e1239ac84..d80d3fa55a 100644 --- a/src/status_im/wallet/core.cljs +++ b/src/status_im/wallet/core.cljs @@ -623,16 +623,9 @@ (fx/defn restart-wallet-service [{:keys [db] :as cofx}] (when (:multiaccount db) - (let [state (:wallet-service/state db) - syncing-allowed? (mobile-network-utils/syncing-allowed? cofx)] + (let [syncing-allowed? (mobile-network-utils/syncing-allowed? cofx)] (log/info "restart-wallet-service" - "syncing-allowed" syncing-allowed? - "state" state) - (cond - (and (not syncing-allowed?) - (not= state :stopped)) - (stop-wallet cofx) - - (and syncing-allowed? - (not= state :started)) - (start-wallet cofx))))) + "syncing-allowed" syncing-allowed?) + (if syncing-allowed? + (start-wallet cofx) + (stop-wallet cofx))))) diff --git a/status-go-version.json b/status-go-version.json index ba2206fefc..6d195bdab4 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -2,7 +2,7 @@ "_comment": "DO NOT EDIT THIS FILE BY HAND. USE 'scripts/update-status-go.sh ' instead", "owner": "status-im", "repo": "status-go", - "version": "stop-wallet", - "commit-sha1": "08d4f2e422ca3de0b639022baf840bebdb5bd67b", - "src-sha256": "1k16fhr6hrmxv47jpwhlj164blf20sq96gba4378vmpzhakqk266" + "version": "v0.56.9", + "commit-sha1": "435eacecb587571887ef547d78f82d67f026db28", + "src-sha256": "0nk4fn7avj5yqsbvc3yjb2hdfhswxsvyvmxcgf0g3rr9rdhm7m19" }