diff --git a/parity/cli.rs b/parity/cli.rs index 91b9c1620..bb46bda13 100644 --- a/parity/cli.rs +++ b/parity/cli.rs @@ -384,7 +384,7 @@ pub struct Args { pub flag_from: String, pub flag_to: String, pub flag_at: String, - pub flag_no_periodic_snapshot: bool, + pub flag_no_periodic_snapshot: bool, pub flag_format: Option, pub flag_jitvm: bool, pub flag_log_file: Option, diff --git a/parity/run.rs b/parity/run.rs index 618a9f0db..7e81974c8 100644 --- a/parity/run.rs +++ b/parity/run.rs @@ -273,17 +273,6 @@ pub fn execute(cmd: RunCmd) -> Result<(), String> { }, }; - if !cmd.no_periodic_snapshot { - let watcher = snapshot::Watcher::new( - service.client(), - service.io().channel(), - SNAPSHOT_PERIOD, - SNAPSHOT_HISTORY, - ); - - service.add_notify(Arc::new(watcher)); - } - // start ui if cmd.ui { if !cmd.dapps_conf.enabled {