From aa70db186771f12e6b6417777f20e6b372227405 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Fri, 11 Sep 2020 12:43:20 -0700 Subject: [PATCH] consensus: remove dead code in checkpointer This was never used anywhere, not even by tests, but nothing noticed because it had an #[allow(dead_code)]. --- zebra-consensus/src/checkpoint.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/zebra-consensus/src/checkpoint.rs b/zebra-consensus/src/checkpoint.rs index f49833ce7..0ea5e1a6a 100644 --- a/zebra-consensus/src/checkpoint.rs +++ b/zebra-consensus/src/checkpoint.rs @@ -216,12 +216,6 @@ where } } - /// Return the checkpoint list for this verifier. - #[allow(dead_code)] - pub(crate) fn list(&self) -> &CheckpointList { - &self.checkpoint_list - } - /// Return the current verifier's progress. /// /// If verification has not started yet, returns `BeforeGenesis`,