diff --git a/crates/mempool/src/mempool_test.rs b/crates/mempool/src/mempool_test.rs index 00d8f0f71a..73a41269f8 100644 --- a/crates/mempool/src/mempool_test.rs +++ b/crates/mempool/src/mempool_test.rs @@ -12,7 +12,6 @@ use crate::transaction_queue::transaction_queue_test_utils::{ TransactionQueueContent, TransactionQueueContentBuilder, }; -use crate::transaction_queue::TransactionQueue; use crate::{add_tx_input, tx}; // Utils. @@ -129,16 +128,6 @@ impl FromIterator for TransactionPool { } } -impl FromIterator for TransactionQueue { - fn from_iter>(txs: T) -> Self { - let mut queue = Self::default(); - for tx in txs { - queue.insert(tx); - } - queue - } -} - #[track_caller] fn add_tx_and_verify_replacement( mut mempool: Mempool,