Set gloas attestation data index to 0 or 1 depending on payload

This commit is contained in:
Eitan Seri- Levi
2026-04-06 01:53:47 -07:00
parent 9f0696f93f
commit 474d0cc36f
6 changed files with 42 additions and 2 deletions

View File

@@ -546,6 +546,7 @@ impl<S: ValidatorStore + 'static, T: SlotClock + 'static> AttestationService<S,
attestation_data.beacon_block_root,
attestation_data.source,
attestation_data.target,
attestation_data.index != 0,
&self.chain_spec,
) {
Ok(attestation) => attestation,