Merge branch 'beacon-api-electra' of https://github.com/sigp/lighthouse into ef-tests-electra

This commit is contained in:
realbigsean
2024-06-13 16:43:50 -04:00

View File

@@ -428,7 +428,7 @@ fn process_slash_info<T: BeaconChainTypes>(
let (indexed_attestation, check_signature, err) = match slash_info {
SignatureNotChecked(attestation, err) => {
if let Error::UnknownHeadBlock { .. } = err {
if attestation.data.beacon_block_root == attestation.data.target.root {
if attestation.data().beacon_block_root == attestation.data().target.root {
return err;
}
}