Skip to content

Commit

Permalink
Fix change in Client.newConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Apr 15, 2020
1 parent c27e3f8 commit 166f878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pexconn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestPexConnState(t *testing.T) {
cl.initLogger()
torrent := cl.newTorrent(metainfo.Hash{}, nil)
addr := &net.TCPAddr{IP: net.IPv6loopback, Port: 4747}
c := cl.newConnection(nil, false, addr, "")
c := cl.newConnection(nil, false, addr, "", "")
c.PeerExtensionIDs = make(map[pp.ExtensionName]pp.ExtensionNumber)
c.PeerExtensionIDs[pp.ExtensionNamePex] = pexExtendedId
c.writerCond.L.Lock()
Expand Down

0 comments on commit 166f878

Please sign in to comment.