mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-26 17:38:14 -07:00
(untested) refactor code
This commit is contained in:
@@ -57,7 +57,6 @@ func parseAnnounce(r *fasthttp.RequestCtx, opts ParseOptions) (*bittorrent.Annou
|
||||
if len(infoHashes) > 1 {
|
||||
return nil, errMultipleInfoHashes
|
||||
}
|
||||
// FIXME: make sure that we have a copy of InfoHash
|
||||
request.InfoHash = infoHashes[0]
|
||||
|
||||
// Parse the PeerID from the request.
|
||||
|
||||
Reference in New Issue
Block a user