mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-10 09:37:38 +00:00
5210 spec change
This commit is contained in:
@@ -1538,7 +1538,15 @@ impl ProtoArray {
|
||||
// Check that false votes have not achieved an absolute majority. This allows the payload to be
|
||||
// considered available when either a majority have voted true or not enough votes have
|
||||
// been cast either way.
|
||||
Ok(!proto_node.payload_data_availability::<E>(false)?)
|
||||
if proto_node.payload_data_availability::<E>(false)? {
|
||||
return Ok(false)
|
||||
}
|
||||
|
||||
if proto_node.payload_timeliness::<E>(false)? {
|
||||
return Ok(false)
|
||||
}
|
||||
|
||||
Ok(true)
|
||||
}
|
||||
|
||||
pub fn should_extend_payload<E: EthSpec>(
|
||||
|
||||
Reference in New Issue
Block a user