mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +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
|
# with 5 the canonical chain and 6 a discarded fork
|
||||||
# that will be pruned next.
|
# that will be pruned next.
|
||||||
break
|
continue
|
||||||
|
|
||||||
if parent_physical_index >= deltas.len:
|
if parent_physical_index >= deltas.len:
|
||||||
return err ForkChoiceError(
|
return err ForkChoiceError(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user