mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
hotfix fork choice score application (#2041)
Depending on the order of nodes in fork choice, it seems that the break here could cause some scores not to be applied correctly
This commit is contained in:
parent
d17090ae46
commit
771c1d092a
@ -178,7 +178,7 @@ func apply_score_changes*(
|
||||
#
|
||||
# with 5 the canonical chain and 6 a discarded fork
|
||||
# that will be pruned next.
|
||||
break
|
||||
continue
|
||||
|
||||
if parent_physical_index >= deltas.len:
|
||||
return err ForkChoiceError(
|
||||
|
Loading…
x
Reference in New Issue
Block a user