From 69ffb9bc8d340052bdd3613907645363b1b0d2f5 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 17 Sep 2017 00:44:09 +1000 Subject: [PATCH] Fix build error --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index 6b566cd9..f1ff59d0 100644 --- a/torrent.go +++ b/torrent.go @@ -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, }) } -- 2.48.1