diff --git a/src/bridgetree.rs b/src/bridgetree.rs index 634e958..6f04bd3 100644 --- a/src/bridgetree.rs +++ b/src/bridgetree.rs @@ -149,19 +149,6 @@ impl NonEmptyFrontier { } impl NonEmptyFrontier { - /// Returns the value of the leaf or ommer at the specified altitude. - pub fn value_at(&self, lvl: Altitude) -> Option { - if lvl == Altitude::zero() { - Some(self.leaf_value()) - } else { - self.ommers - .iter() - .zip(self.position.ommer_altitudes()) - .find(|(_, l)| *l == lvl) - .map(|(p, _)| p.clone()) - } - } - /// Returns the value of the most recently appended leaf. pub fn leaf_value(&self) -> H { match &self.leaf {