From 08c5ec44d8aff8a1fbdd45d08034ebbf07e408e4 Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Tue, 31 Mar 2026 22:39:22 -0700 Subject: [PATCH] Fix fork choice bug --- consensus/proto_array/src/proto_array.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/proto_array/src/proto_array.rs b/consensus/proto_array/src/proto_array.rs index 933e9eb078..d806547cc0 100644 --- a/consensus/proto_array/src/proto_array.rs +++ b/consensus/proto_array/src/proto_array.rs @@ -535,7 +535,7 @@ impl ProtoArray { .parent_root .and_then(|parent| self.indices.get(&parent).copied()); - let node = if !spec.fork_name_at_slot::(current_slot).gloas_enabled() { + let node = if !spec.fork_name_at_slot::(block.slot).gloas_enabled() { ProtoNode::V17(ProtoNodeV17 { slot: block.slot, root: block.root,