make notifier_service::notify pub

This commit is contained in:
Daniel Knopik
2025-05-23 23:49:13 +02:00
parent 1ba6712b26
commit cbb98421b3

View File

@@ -35,7 +35,7 @@ pub fn spawn_notifier<S: ValidatorStore + 'static, T: SlotClock + 'static>(
}
/// Performs a single notification routine.
async fn notify<S: ValidatorStore, T: SlotClock + 'static>(duties_service: &DutiesService<S, T>) {
pub async fn notify<S: ValidatorStore, T: SlotClock + 'static>(duties_service: &DutiesService<S, T>) {
let (candidate_info, num_available, num_synced) =
duties_service.beacon_nodes.get_notifier_info().await;
let num_total = candidate_info.len();