Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/common/src/config/mux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ async fn fetch_lido_registry_keys(
let total_keys =
registry.getTotalSigningKeyCount(node_operator_id).call().await?._0.try_into()?;

if total_keys == 0 {
return Ok(Vec::new());
}

debug!("fetching {total_keys} total keys");

const CALL_BATCH_SIZE: u64 = 250u64;
Expand Down
Loading