mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
FMT
This commit is contained in:
@@ -1512,11 +1512,7 @@ impl ProtoArray {
|
||||
) -> Result<bool, Error> {
|
||||
// If the block's inclusion list satisfaction has been recorded as false,
|
||||
// do not extend the payload.
|
||||
if self
|
||||
.payload_inclusion_list_satisfaction
|
||||
.get(&fc_node.root)
|
||||
== Some(&false)
|
||||
{
|
||||
if self.payload_inclusion_list_satisfaction.get(&fc_node.root) == Some(&false) {
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
@@ -1626,11 +1622,7 @@ impl ProtoArray {
|
||||
return false;
|
||||
}
|
||||
|
||||
if self
|
||||
.payload_inclusion_list_satisfaction
|
||||
.get(&node.root())
|
||||
== Some(&false)
|
||||
{
|
||||
if self.payload_inclusion_list_satisfaction.get(&node.root()) == Some(&false) {
|
||||
info!(
|
||||
?current_slot,
|
||||
source = "node_is_viable_for_head",
|
||||
|
||||
@@ -2,7 +2,7 @@ use crate::{
|
||||
JustifiedBalances,
|
||||
error::Error,
|
||||
proto_array::{
|
||||
InvalidationOperation, Iter, NodeDelta, ProtoArray, ProtoNode, ProposerBoost,
|
||||
InvalidationOperation, Iter, NodeDelta, ProposerBoost, ProtoArray, ProtoNode,
|
||||
calculate_committee_fraction,
|
||||
},
|
||||
ssz_container::SszContainer,
|
||||
|
||||
Reference in New Issue
Block a user