From b21b1086f1991b5792bbcfb5fe14181a1ab38a18 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Thu, 13 Jun 2024 16:40:52 -0400 Subject: [PATCH] fix compile --- beacon_node/beacon_chain/src/attestation_verification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/beacon_chain/src/attestation_verification.rs b/beacon_node/beacon_chain/src/attestation_verification.rs index 2b52f69cc67..d82685c48c0 100644 --- a/beacon_node/beacon_chain/src/attestation_verification.rs +++ b/beacon_node/beacon_chain/src/attestation_verification.rs @@ -428,7 +428,7 @@ fn process_slash_info( 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; } }