From 2afb109fab6cc23e57b485f1b2c97b44ebe4fdc9 Mon Sep 17 00:00:00 2001
From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Date: Thu, 10 Oct 2024 17:24:58 +0200
Subject: [PATCH] graph::listener: note added

---
 substrate/client/transaction-pool/src/graph/listener.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/substrate/client/transaction-pool/src/graph/listener.rs b/substrate/client/transaction-pool/src/graph/listener.rs
index 4c97ffa0cbb..a5593920eec 100644
--- a/substrate/client/transaction-pool/src/graph/listener.rs
+++ b/substrate/client/transaction-pool/src/graph/listener.rs
@@ -135,6 +135,7 @@ impl<H: hash::Hash + traits::Member + Serialize + Clone, C: ChainApi> Listener<H
 			None => watcher.dropped(),
 		});
 
+		//note: LimitEnforced could be introduced as new status to get rid of this flag.
 		if limits_enforced {
 			if let Some(ref sink) = self.dropped_by_limits_sink {
 				if let Err(e) = sink.unbounded_send((tx.clone(), TransactionStatus::Dropped)) {
-- 
GitLab