go fmt ./...
This commit is contained in:
parent
5cb47021ac
commit
35064425eb
|
@ -102,7 +102,6 @@ func (cl *Client) badPeerIPsLocked() (ips []string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (cl *Client) PeerID() PeerID {
|
func (cl *Client) PeerID() PeerID {
|
||||||
return cl.peerID
|
return cl.peerID
|
||||||
}
|
}
|
||||||
|
@ -1259,7 +1258,6 @@ func useTorrentSource(ctx context.Context, source string, t *Torrent) (err error
|
||||||
return t.MergeSpec(TorrentSpecFromMetaInfo(&mi))
|
return t.MergeSpec(TorrentSpecFromMetaInfo(&mi))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (cl *Client) dropTorrent(infoHash metainfo.Hash) (err error) {
|
func (cl *Client) dropTorrent(infoHash metainfo.Hash) (err error) {
|
||||||
t, ok := cl.torrents[infoHash]
|
t, ok := cl.torrents[infoHash]
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|
Loading…
Reference in New Issue