impl 5281 gossip verification check

This commit is contained in:
Eitan Seri-Levi
2026-06-02 13:04:49 +03:00
parent 2b729482b3
commit 1a2d55a88c
5 changed files with 67 additions and 11 deletions

View File

@@ -1539,11 +1539,11 @@ impl ProtoArray {
// considered available when either a majority have voted true or not enough votes have
// been cast either way.
if proto_node.payload_data_availability::<E>(false)? {
return Ok(false)
return Ok(false);
}
if proto_node.payload_timeliness::<E>(false)? {
return Ok(false)
return Ok(false);
}
Ok(true)