Fix fork choice bug

This commit is contained in:
Pawan Dhananjay
2026-03-31 22:39:22 -07:00
parent 871697280e
commit 08c5ec44d8

View File

@@ -535,7 +535,7 @@ impl ProtoArray {
.parent_root
.and_then(|parent| self.indices.get(&parent).copied());
let node = if !spec.fork_name_at_slot::<E>(current_slot).gloas_enabled() {
let node = if !spec.fork_name_at_slot::<E>(block.slot).gloas_enabled() {
ProtoNode::V17(ProtoNodeV17 {
slot: block.slot,
root: block.root,