feat: include crate version in peer_id

This commit is contained in:
Alex Galvin 2025-05-24 03:57:23 -04:00
parent e83da0b194
commit 610140cff6
8 changed files with 164 additions and 18 deletions

View file

@ -447,7 +447,7 @@ mod tests {
connection_id,
AnnounceFields {
info_hash: hash,
peer_id: generate_peer_id(),
peer_id: generate_peer_id(b"-xx1234-"),
downloaded: 0,
left: 0,
uploaded: 0,