Fix copy and paste error
This commit is contained in:
parent
539a1b3774
commit
9b60b3144e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func (w *Writer) WriteAnnounce(res *models.AnnounceResponse) error {
|
|||
"min interval": res.MinInterval,
|
||||
}
|
||||
|
||||
if res.IPv4Peers != nil || res.IPv4Peers != nil {
|
||||
if res.IPv4Peers != nil || res.IPv6Peers != nil {
|
||||
if res.Compact {
|
||||
dict["peers"] = compactPeers(false, res.IPv4Peers)
|
||||
dict["peers6"] = compactPeers(true, res.IPv6Peers)
|
||||
|
|
Loading…
Reference in a new issue