Simplify initial check code to only return have_pieces
This commit is contained in:
parent
8135b31a5d
commit
a55dfc6e0e
3 changed files with 56 additions and 96 deletions
|
|
@ -1,7 +1,6 @@
|
|||
use std::collections::HashSet;
|
||||
|
||||
use anyhow::Context;
|
||||
use bitvec::{order::Lsb0, slice::BitSlice};
|
||||
use librqbit_core::lengths::{ChunkInfo, Lengths, ValidPieceIndex};
|
||||
use peer_binary_protocol::Piece;
|
||||
use tracing::{debug, trace};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue