mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Stuff
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user