mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
Merge branch 'unstable' into merge-unstable-to-deneb-20230816
# Conflicts: # beacon_node/http_api/src/lib.rs
This commit is contained in:
@@ -884,7 +884,7 @@ impl ProtoArray {
|
||||
}
|
||||
} else {
|
||||
// Choose the winner by weight.
|
||||
if child.weight >= best_child.weight {
|
||||
if child.weight > best_child.weight {
|
||||
change_to_child
|
||||
} else {
|
||||
no_change
|
||||
@@ -910,7 +910,7 @@ impl ProtoArray {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Indicates if the node itself is viable for the head, or if it's best descendant is viable
|
||||
/// Indicates if the node itself is viable for the head, or if its best descendant is viable
|
||||
/// for the head.
|
||||
fn node_leads_to_viable_head<E: EthSpec>(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user