From 975c5d0576f533345455d190364a1da5949ace11 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Fri, 19 Apr 2024 15:11:15 +0300 Subject: [PATCH] node: disable restart on change validation and archive mode --- src/gui/views/network/setup/node.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gui/views/network/setup/node.rs b/src/gui/views/network/setup/node.rs index 39a6a1d..05ff87c 100644 --- a/src/gui/views/network/setup/node.rs +++ b/src/gui/views/network/setup/node.rs @@ -522,9 +522,6 @@ impl NodeSetup { let validate = NodeConfig::is_full_chain_validation(); View::checkbox(ui, validate, t!("network_settings.full_validation"), || { NodeConfig::toggle_full_chain_validation(); - if Node::is_running() { - Node::restart(); - } }); ui.add_space(4.0); ui.label(RichText::new(t!("network_settings.full_validation_description")) @@ -538,9 +535,6 @@ impl NodeSetup { let archive_mode = NodeConfig::is_archive_mode(); View::checkbox(ui, archive_mode, t!("network_settings.archive_mode"), || { NodeConfig::toggle_archive_mode(); - if Node::is_running() { - Node::restart(); - } }); ui.add_space(4.0); ui.label(RichText::new(t!("network_settings.archive_mode_desc"))