From 66e7815bcc119631e2de97f07a0d316e82e2e0a2 Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Thu, 18 Oct 2018 16:18:59 +0300 Subject: [PATCH] Force node restart during initialization on desktop Remove log Signed-off-by: Goran Jovic --- src/status_im/node/core.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im/node/core.cljs b/src/status_im/node/core.cljs index 99a7d4e232..f76b8d2a31 100644 --- a/src/status_im/node/core.cljs +++ b/src/status_im/node/core.cljs @@ -146,7 +146,10 @@ (let [restart {:db (assoc db :node/restart? true :node/address address)}] (case status :started (stop cofx) - :starting restart + :starting (do + (when utils.platform/desktop? + (status/stop-node)) + restart) :stopping restart (start cofx address))))