Update common/eth2/src/types.rs

Co-authored-by: ethDreamer <37123614+ethDreamer@users.noreply.github.com>
This commit is contained in:
Lion - dapplion
2024-06-18 22:50:34 +02:00
committed by dapplion
parent 7af3f2eb35
commit 2634a1f1a6

View File

@@ -726,7 +726,7 @@ impl AttesterData {
self.slot == attestation_data.slot && self.committee_index == attestation_data.index
} else {
// After electra `attestation_data.index` is set to 0 and does not match the duties
self.slot == attestation_data.index
self.slot == attestation_data.slot
}
}
}