node: disable restart on change validation and archive mode
This commit is contained in:
parent
13c4c14647
commit
975c5d0576
1 changed files with 0 additions and 6 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue