mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
lint
This commit is contained in:
@@ -1138,9 +1138,7 @@ where
|
|||||||
&& indexed_attestation.data().slot == block.slot
|
&& indexed_attestation.data().slot == block.slot
|
||||||
&& indexed_attestation.data().index != 0
|
&& indexed_attestation.data().index != 0
|
||||||
{
|
{
|
||||||
return Err(InvalidAttestation::PayloadAttestationDuringSameSlot {
|
return Err(InvalidAttestation::PayloadAttestationDuringSameSlot { slot: block.slot });
|
||||||
slot: block.slot,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user