diff --git a/util/src/journaldb.rs b/util/src/journaldb.rs index a2b0981cc..5d3276631 100644 --- a/util/src/journaldb.rs +++ b/util/src/journaldb.rs @@ -92,7 +92,6 @@ impl JournalDB { /// Commit all recent insert operations and historical removals from the old era /// to the backing database. - #[allow(cyclomatic_complexity)] pub fn commit(&mut self, now: u64, id: &H256, end: Option<(u64, H256)>) -> Result { // journal format: // [era, 0] => [ id, [insert_0, ...], [remove_0, ...] ]