Fix build error

This commit is contained in:
Matt Joiner 2017-09-17 00:44:09 +10:00
parent 846da66103
commit 69ffb9bc8d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ func (t *Torrent) KnownSwarm() (ks []Peer) {
// > received it from trackers/DHT/PEX, or just use the encryption state for the
// > connection. It's probably easiest to do the latter for now.
// https://github.com/anacrolix/torrent/pull/188
SupportsEncryption: conn.encrypted,
SupportsEncryption: conn.headerEncrypted,
})
}