From cec5ce179d7d8a030460ab8786861fd2e3c00953 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Wed, 25 Mar 2026 14:12:46 +1100 Subject: [PATCH] Undo botched optimisation --- consensus/proto_array/src/proto_array.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/consensus/proto_array/src/proto_array.rs b/consensus/proto_array/src/proto_array.rs index 25a1f7e7f9..6b338147cf 100644 --- a/consensus/proto_array/src/proto_array.rs +++ b/consensus/proto_array/src/proto_array.rs @@ -1380,8 +1380,6 @@ impl ProtoArray { } else { let children = self .nodes - .get(node.proto_node_index..) - .ok_or(Error::InvalidNodeIndex(node.proto_node_index))? .iter() .enumerate() .filter(|(_, child_node)| {