address grumbles

This commit is contained in:
Robert Habermeier 2016-09-05 22:59:34 +02:00
parent 46b1224f7c
commit 09bc675e6a
2 changed files with 1 additions and 12 deletions

View File

@ -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<String>,
pub flag_jitvm: bool,
pub flag_log_file: Option<String>,

View File

@ -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 {