node-template: remove unnecessary on_exit guard (#3903)

This commit is contained in:
André Silva
2019-10-24 13:29:09 +01:00
committed by Bastian Köcher
parent d97775542a
commit 022126f906
-2
View File
@@ -115,8 +115,6 @@ pub fn new_full<C: Send + Default + 'static>(config: Configuration<C, GenesisCon
service.keystore(),
)?;
let aura = aura.select(service.on_exit()).then(|_| Ok(()));
// the AURA authoring task is considered essential, i.e. if it
// fails we take down the service with it.
service.spawn_essential_task(aura);