mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 14:27:57 +00:00
node-template: remove unnecessary on_exit guard (#3903)
This commit is contained in:
committed by
Bastian Köcher
parent
d97775542a
commit
022126f906
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user