From 7bbb4123100056ec6c74bc667d19e8b22b1bdf56 Mon Sep 17 00:00:00 2001 From: jp1ac4 <121959000+jp1ac4@users.noreply.github.com> Date: Thu, 31 Aug 2023 16:04:18 +0100 Subject: [PATCH] gui: ensure we can retry starting in case of error --- gui/src/installer/step/bitcoind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/installer/step/bitcoind.rs b/gui/src/installer/step/bitcoind.rs index 2e1dfb197..abc9da365 100644 --- a/gui/src/installer/step/bitcoind.rs +++ b/gui/src/installer/step/bitcoind.rs @@ -652,9 +652,9 @@ impl Step for InternalBitcoindStep { message::InternalBitcoindMsg::Previous => { if let Some(bitcoind) = &self.internal_bitcoind { bitcoind.stop(); - self.started = None; } self.internal_bitcoind = None; + self.started = None; // clear both Ok and Err return Command::perform(async {}, |_| Message::Previous); } message::InternalBitcoindMsg::Reload => {