From 6b41d93a7d1c1940ddad8628c40ddbe7288b6a38 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:46:37 +0100 Subject: [PATCH] view: unused function removed --- .../transaction-pool/src/fork_aware_txpool/view.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/substrate/client/transaction-pool/src/fork_aware_txpool/view.rs b/substrate/client/transaction-pool/src/fork_aware_txpool/view.rs index 0a7130d965a..4fa83ccc79b 100644 --- a/substrate/client/transaction-pool/src/fork_aware_txpool/view.rs +++ b/substrate/client/transaction-pool/src/fork_aware_txpool/view.rs @@ -489,16 +489,6 @@ where } } - /// Remove invalid transactions from the view. - /// - /// Refer to [`crate::graph::ValidatedPool::remove_invalid`] for more details. - pub(crate) fn remove_invalid( - &self, - hashes: &[ExtrinsicHash<ChainApi>], - ) -> Vec<TransactionFor<ChainApi>> { - self.pool.validated_pool().remove_invalid(hashes) - } - /// Returns true if the transaction with given hash is already imported into the view. pub(super) fn is_imported(&self, tx_hash: &ExtrinsicHash<ChainApi>) -> bool { const IGNORE_BANNED: bool = false; -- GitLab