diff --git a/node/src/chain/consensus.rs b/node/src/chain/consensus.rs index d8150151bd..dfd58cbf32 100644 --- a/node/src/chain/consensus.rs +++ b/node/src/chain/consensus.rs @@ -211,19 +211,6 @@ impl dusk_consensus::commons::Database for CandidateDB { } } } - - fn delete_candidate_blocks(&mut self) { - match self.db.try_read() { - Ok(db) => { - if let Err(e) = db.update(|t| t.clear_candidates()) { - warn!("Unable to cleare candidates: {e}"); - }; - } - Err(e) => { - warn!("Cannot acquire lock to clear_candidate: {e}"); - } - } - } } /// Implements Executor trait to mock Contract Storage calls.