We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0661f17 commit 221f8c9Copy full SHA for 221f8c9
1 file changed
crates/common/src/config/mux.rs
@@ -242,6 +242,10 @@ async fn fetch_lido_registry_keys(
242
let total_keys =
243
registry.getTotalSigningKeyCount(node_operator_id).call().await?._0.try_into()?;
244
245
+ if total_keys == 0 {
246
+ return Ok(Vec::new());
247
+ }
248
+
249
debug!("fetching {total_keys} total keys");
250
251
const CALL_BATCH_SIZE: u64 = 250u64;
0 commit comments