From a5bdd0c5979f68be615aeb3d610ffeb5d5ce25fc Mon Sep 17 00:00:00 2001 From: Eitan Seri- Levi Date: Wed, 1 Apr 2026 00:59:00 -0700 Subject: [PATCH] Smol revert --- consensus/proto_array/src/proto_array.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/consensus/proto_array/src/proto_array.rs b/consensus/proto_array/src/proto_array.rs index e9d5e02db5..361e4a86e2 100644 --- a/consensus/proto_array/src/proto_array.rs +++ b/consensus/proto_array/src/proto_array.rs @@ -1436,19 +1436,6 @@ impl ProtoArray { if proto_node.payload_received().is_ok_and(|received| received) { children.push((node.with_status(PayloadStatus::Full), proto_node.clone())); } - // TODO(gloas) this is the actual change we want to keep once PTC is implemented - // let mut children = vec![(node.with_status(PayloadStatus::Empty), proto_node.clone())]; - // // The FULL virtual child only exists if the payload has been received. - // if proto_node.payload_received().is_ok_and(|received| received) { - // children.push((node.with_status(PayloadStatus::Full), proto_node.clone())); - // } - - // TODO(gloas) remove this and uncomment the code above once we implement PTC - // Skip Empty/Full split: go straight to Full when payload received, - // giving full payload weight 100% without PTC votes. - - // TODO(gloas) delete up to here - Ok(children) } else { let child_indices = children_index