Fix Gloas check in on_block

This commit is contained in:
Michael Sproul
2026-04-01 15:47:10 +11:00
parent ab023a7231
commit 3cf19e724f

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,