]> Sergey Matveev's repositories - btrtrc.git/blobdiff - torrent.go
Switch Go CI to go1.20
[btrtrc.git] / torrent.go
index eeac172d10641dc997a566f4980abea44f2d555c..ad89b45391cc9df92616888a369c67b09245b0e2 100644 (file)
@@ -2859,11 +2859,3 @@ func (t *Torrent) getDialTimeoutUnlocked() time.Duration {
        defer cl.rUnlock()
        return t.dialTimeout()
 }
-
-func (t *Torrent) startHolepunchRendezvousForPeerRemoteAddr(addr PeerRemoteAddr) error {
-       addrPort, err := addrPortFromPeerRemoteAddr(addr)
-       if err != nil {
-               return err
-       }
-       return t.startHolepunchRendezvous(addrPort)
-}