This commit is contained in:
hopinheimer
2026-02-26 04:46:26 -05:00
parent eb1b81063d
commit 59033a5092

View File

@@ -1138,9 +1138,7 @@ where
&& indexed_attestation.data().slot == block.slot
&& indexed_attestation.data().index != 0
{
return Err(InvalidAttestation::PayloadAttestationDuringSameSlot {
slot: block.slot,
});
return Err(InvalidAttestation::PayloadAttestationDuringSameSlot { slot: block.slot });
}
Ok(())