From e5b4f1a88a26a3c15db7683d026d4b153144fc54 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Fri, 27 Feb 2026 02:38:36 +0000 Subject: [PATCH] Remove unused root_idx in bloom filter split-horizon test --- src/node/tests/bloom.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/node/tests/bloom.rs b/src/node/tests/bloom.rs index cc6285a..d9125fc 100644 --- a/src/node/tests/bloom.rs +++ b/src/node/tests/bloom.rs @@ -333,12 +333,6 @@ async fn test_bloom_filter_split_horizon() { tree_adj[parent].push(child); } - // Find the root - let root_idx = nodes - .iter() - .position(|tn| tn.node.tree_state().is_root()) - .expect("Should have exactly one root"); - print_filter_cardinality(&nodes); // For each tree edge (child, parent), verify split-horizon: