take bytes

This commit is contained in:
yggverse 2025-08-08 01:16:36 +03:00
parent 3e053fa806
commit e2d2b513cc
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ impl Preload {
pub fn commit(
&self,
info_hash: &str,
torrent_bytes: &[u8],
torrent_bytes: Vec<u8>,
persist_files: Option<HashSet<PathBuf>>,
) -> Result<()> {
// persist torrent bytes to file