mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Add lockbud task to CI (#6470)
* Add lockbud task to CI * Allow unknown lint * Merge branch 'unstable' of https://github.com/sigp/lighthouse into lockbud * remove potential deadlock * ignore tokio util crate * Update image
This commit is contained in:
@@ -549,10 +549,11 @@ impl Service {
|
||||
|
||||
/// Returns the number of deposits with valid signatures that have been observed.
|
||||
pub fn get_valid_signature_count(&self) -> Option<usize> {
|
||||
let highest_safe_block = self.highest_safe_block()?;
|
||||
self.deposits()
|
||||
.read()
|
||||
.cache
|
||||
.get_valid_signature_count(self.highest_safe_block()?)
|
||||
.get_valid_signature_count(highest_safe_block)
|
||||
}
|
||||
|
||||
/// Returns the number of deposits with valid signatures that have been observed, without
|
||||
|
||||
Reference in New Issue
Block a user