From 6cc65848da74fe29a13604d8290445e85a0632bb Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Thu, 2 Apr 2026 13:35:51 +1100 Subject: [PATCH] Remove dead code --- consensus/proto_array/src/proto_array.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/consensus/proto_array/src/proto_array.rs b/consensus/proto_array/src/proto_array.rs index f259ed7e06..14290fd784 100644 --- a/consensus/proto_array/src/proto_array.rs +++ b/consensus/proto_array/src/proto_array.rs @@ -489,12 +489,10 @@ impl ProtoArray { .ok_or(Error::DeltaOverflow(parent_index))?; } } else { - // V17 child of a V29 parent (fork transition): treat as FULL - // since V17 nodes always have execution payloads inline. - parent_delta.full_delta = parent_delta - .full_delta - .checked_add(delta) - .ok_or(Error::DeltaOverflow(parent_index))?; + // This is a v17 node with a v17 parent. + // There is no empty or full weight for v17 nodes, so nothing to propagate. + // In the tree walk, the v17 nodes have an empty child with 0 weight, which + // wins by default (it is the only child). } } }