mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-28 18:18:11 -07:00
Clean up types more
This commit is contained in:
@@ -95,8 +95,8 @@ func loadTestData(tkr *tracker.Tracker) error {
|
||||
torrent := &models.Torrent{
|
||||
ID: 1,
|
||||
Infohash: infoHash,
|
||||
Seeders: make(map[string]models.Peer),
|
||||
Leechers: make(map[string]models.Peer),
|
||||
Seeders: models.PeerMap{},
|
||||
Leechers: models.PeerMap{},
|
||||
}
|
||||
|
||||
return conn.PutTorrent(torrent)
|
||||
|
||||
Reference in New Issue
Block a user