From de01f923c7452355c87f50c0e8031ca94fa00d36 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Mon, 6 Jan 2025 14:06:57 +1100 Subject: [PATCH] Remove footgun function --- consensus/types/src/runtime_var_list.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/consensus/types/src/runtime_var_list.rs b/consensus/types/src/runtime_var_list.rs index b1365b34c1..2a4b185632 100644 --- a/consensus/types/src/runtime_var_list.rs +++ b/consensus/types/src/runtime_var_list.rs @@ -118,10 +118,6 @@ impl RuntimeVariableList { } } - pub fn set_max_len(&mut self, max_len: usize) { - self.max_len = Some(max_len); - } - /// Returns the number of values presently in `self`. pub fn len(&self) -> usize { self.vec.len()