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

This commit is contained in:
André Silva authored and Bastian Köcher committed 2019-10-24 14:29:09 +02:00
1 parent d97775542a
commit 022126f906
1 file changed
-2
-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);