From b2b9395e1d2e0d0647f46f6c3036e1384256d164 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Date: Tue, 16 Jan 2024 13:31:44 +0200 Subject: [PATCH] Update subxt/src/backend/unstable/follow_stream_unpin.rs --- subxt/src/backend/unstable/follow_stream_unpin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subxt/src/backend/unstable/follow_stream_unpin.rs b/subxt/src/backend/unstable/follow_stream_unpin.rs index 11ebe0615f..d4da544b8f 100644 --- a/subxt/src/backend/unstable/follow_stream_unpin.rs +++ b/subxt/src/backend/unstable/follow_stream_unpin.rs @@ -315,7 +315,7 @@ impl FollowStreamUnpin { entry.block_ref.clone() } - /// Unpin any blocks that are either too old, or have the unpin flag set and are in the list of pruned hashes. + /// Unpin any blocks that are either too old, or have the unpin flag set and are old enough. fn unpin_blocks(&mut self, waker: &Waker) { let unpin_flags = std::mem::take(&mut *self.unpin_flags.lock().unwrap()); let rel_block_num = self.rel_block_num;