mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 20:26:19 +00:00
node-template: remove unnecessary on_exit guard (#3903)
This commit is contained in:
1 parent
d97775542a
commit
022126f906
1 file changed
-2
@@ -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