This commit is contained in:
Michael Sproul
2025-05-07 15:13:01 +10:00
parent 058dae0641
commit 50c7b2b8e9
2 changed files with 5 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ pub trait ValidatorStore: Send + Sync {
///
/// - Unknown.
/// - Known, but with an unknown index.
fn validator_index(&self, pubkey: &PublicKeyBytes) -> Option<u64>;
fn validator_index(&self, pubkey: &PublicKeyBytes) -> impl Future<Output = Option<u64>> + Sync;
/// Returns all voting pubkeys for all enabled validators.
///