Skip to content

Commit

Permalink
修复构建错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Oct 7, 2024
1 parent 9abca22 commit e5b73b2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.ghostchu.btn.sparkle.module.audit.AuditService;
import com.ghostchu.btn.sparkle.module.tracker.internal.PeerEvent;
import com.ghostchu.btn.sparkle.util.BencodeUtil;
import com.ghostchu.btn.sparkle.util.ByteUtil;
import inet.ipaddr.IPAddress;
import inet.ipaddr.IPAddressString;
import jakarta.persistence.LockModeType;
Expand Down Expand Up @@ -149,7 +148,7 @@ public byte[] announce() {
log.error("Unable to handle Torrent announce", e);
}
}
var peers = trackerService.fetchPeersFromTorrent(infoHash, ByteUtil.bytesToHex(peerId), null, numWant);
var peers = trackerService.fetchPeersFromTorrent(infoHash, peerId, null, numWant);

// 合成响应
var map = new HashMap<>() {{
Expand Down

0 comments on commit e5b73b2

Please sign in to comment.