Fix bug with validator services exiting on error

This commit is contained in:
Paul Hauner
2019-11-25 18:19:41 +11:00
parent ae535ea33a
commit ebfa1f53d6
4 changed files with 4 additions and 12 deletions

View File

@@ -165,9 +165,7 @@ impl<T: SlotClock + 'static, E: EthSpec> AttestationService<T, E> {
}
Ok(())
})
// Prevent any errors from escaping and stopping the interval.
.then(|_| Ok(())),
}),
)
.map(move |_| info!(log_3, "Shutdown complete")),
);