diff --git a/util/journaldb/src/overlayrecentdb.rs b/util/journaldb/src/overlayrecentdb.rs index 8f17637708b..44f1085e092 100644 --- a/util/journaldb/src/overlayrecentdb.rs +++ b/util/journaldb/src/overlayrecentdb.rs @@ -20,7 +20,6 @@ use std::{ collections::{HashMap, hash_map::Entry}, io, sync::Arc, - time::Duration, }; use ethereum_types::H256; @@ -294,7 +293,7 @@ impl JournalDB for OverlayRecentDB { let pkey = &key[..DB_PREFIX_LEN]; self.backing .get_by_prefix(self.column, &pkey) - .map(|b| b.to_vec()) + .map(|b| b.into_vec()) }) }