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:
Jacek Sieka 2020-11-19 15:11:08 +01:00 committed by GitHub
parent d17090ae46
commit 771c1d092a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(