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:
Eitan Seri-Levi
2024-10-09 16:11:24 -07:00
committed by GitHub
parent 71c5388461
commit 352a9cf054
3 changed files with 19 additions and 1 deletions

View File

@@ -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