mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-10 17:11:03 +00:00
Update subxt/src/backend/unstable/follow_stream_unpin.rs
This commit is contained in:
@@ -315,7 +315,7 @@ impl<Hash: BlockHash> FollowStreamUnpin<Hash> {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user