From 0fad26c43a65bfb371d667278981d3c68c3ce9d6 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:43:52 +0100 Subject: [PATCH] wording --- .../src/fork_aware_txpool/view_store.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/substrate/client/transaction-pool/src/fork_aware_txpool/view_store.rs b/substrate/client/transaction-pool/src/fork_aware_txpool/view_store.rs index 25022b5cb4c..c13a4e42267 100644 --- a/substrate/client/transaction-pool/src/fork_aware_txpool/view_store.rs +++ b/substrate/client/transaction-pool/src/fork_aware_txpool/view_store.rs @@ -667,14 +667,17 @@ where /// also will not be banned. No event will be triggered. /// /// For other errors, the transaction will be removed from the pool, and it will be included in - /// the returned vector. If the tuple's error is None, the transaction will be forcibly removed - /// from the pool. It will be included in the returned vector. Additionally transactions + /// the returned vector. It will be included in the returned vector. Additionally transactions /// provided as input will be banned from re-entering the pool. /// - /// For every transaction removed from the pool an Invalid event is triggered. + /// If the tuple's error is None, the transaction will be forcibly removed from the pool, + /// banned and included into the returned vector. + /// + /// For every transaction removed from the pool (including descendants) an Invalid event is + /// triggered. /// /// Returns the list of actually removed transactions, which may include transactions dependent - /// on provided set. + /// on the provided set. pub(crate) fn report_invalid( &self, at: Option<Block::Hash>, -- GitLab