From cf4553d136d09232319428cd21713132942196f1 Mon Sep 17 00:00:00 2001 From: mohammad-starkware <130282237+MohammadNassar1@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:42:01 +0200 Subject: [PATCH] refactor(mempool): mempool content remove unused code (#1819) --- crates/mempool/src/mempool_test.rs | 11 ----------- 1 file changed, 11 deletions(-) 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,