Skip to content

Commit

Permalink
fix: issue 5288
Browse files Browse the repository at this point in the history
  • Loading branch information
kamuik16 committed Feb 27, 2024
1 parent b5bae6e commit e8619b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions validator_client/src/attestation_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,11 @@ impl<T: SlotClock + 'static, E: EthSpec> AttestationService<T, E> {
.flatten()
.unzip();

if attestations.len() == 0 {
warn!("WARN: No attestations were published");
return Ok(None);
}

// Post the attestations to the BN.
match self
.beacon_nodes
Expand Down

0 comments on commit e8619b2

Please sign in to comment.