Merge branch 'glamsterdam-devnet-0' of https://github.com/eserilev/lighthouse into glamsterdam-devnet-0

This commit is contained in:
Eitan Seri-Levi
2026-04-28 10:39:49 +02:00
3 changed files with 4 additions and 2 deletions

View File

@@ -2038,7 +2038,9 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
});
}
if request_slot >= head_state.slot() {
let is_attesting_to_head_slot = request_slot >= head_state.slot();
if is_attesting_to_head_slot {
// When attesting to the head slot or later, always use the head of the chain.
beacon_block_root = head.beacon_block_root;
beacon_state_root = head.beacon_state_root();