From 826bf28196ab6d5fbea57abcc2401e421114ae8e Mon Sep 17 00:00:00 2001 From: arkpar Date: Wed, 28 Jun 2017 16:11:18 +0200 Subject: [PATCH] Fixed build --- parity/run.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parity/run.rs b/parity/run.rs index 35515d54f..bcb18aeeb 100644 --- a/parity/run.rs +++ b/parity/run.rs @@ -227,8 +227,7 @@ fn execute_light(cmd: RunCmd, can_restart: bool, logger: Arc) -> } // start on_demand service. - let account_start_nonce = service.client().engine().account_start_nonce(0); - let on_demand = Arc::new(::light::on_demand::OnDemand::new(cache.clone(), account_start_nonce)); + let on_demand = Arc::new(::light::on_demand::OnDemand::new(cache.clone())); // set network path. net_conf.net_config_path = Some(db_dirs.network_path().to_string_lossy().into_owned());