node-filter does not use ChainNotify (#8231)

* node-filter does not use ChainNotify

* fixed failing test
This commit is contained in:
Marek Kotewicz
2018-03-28 11:32:44 +09:00
committed by GitHub
parent 04931618ed
commit 06a7ca221c
4 changed files with 24 additions and 42 deletions

View File

@@ -692,9 +692,6 @@ pub fn execute_impl(cmd: RunCmd, can_restart: bool, logger: Arc<RotatingLogger>)
).map_err(|e| format!("Sync error: {}", e))?;
service.add_notify(chain_notify.clone());
if let Some(filter) = connection_filter {
service.add_notify(filter);
}
// start network
if network_enabled {