From a53a5f8e7fe6d87a4996629f1ef56bebbb72dae4 Mon Sep 17 00:00:00 2001 From: Dmitry Markin Date: Tue, 3 Feb 2026 17:09:36 +0200 Subject: [PATCH] Fix Notifications close desired timeout handling --- lib/src/libp2p/connection/established/substream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/libp2p/connection/established/substream.rs b/lib/src/libp2p/connection/established/substream.rs index 955d825991..8213c6b287 100644 --- a/lib/src/libp2p/connection/established/substream.rs +++ b/lib/src/libp2p/connection/established/substream.rs @@ -917,7 +917,7 @@ where if close_desired_timeout .as_ref() - .map_or(false, |timeout| *timeout >= read_write.now) + .map_or(false, |timeout| *timeout <= read_write.now) { read_write.wake_up_asap(); return (