mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
Fix fork choice bug
This commit is contained in:
@@ -535,7 +535,7 @@ impl ProtoArray {
|
|||||||
.parent_root
|
.parent_root
|
||||||
.and_then(|parent| self.indices.get(&parent).copied());
|
.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 {
|
ProtoNode::V17(ProtoNodeV17 {
|
||||||
slot: block.slot,
|
slot: block.slot,
|
||||||
root: block.root,
|
root: block.root,
|
||||||
|
|||||||
Reference in New Issue
Block a user