Fix benchmark broken by changes to client listeners

This commit is contained in:
Matt Joiner 2018-11-04 17:51:32 +11:00
parent 1a4950ad4a
commit 4f5387cbbd
1 changed files with 0 additions and 1 deletions

View File

@ -498,7 +498,6 @@ func BenchmarkAddLargeTorrent(b *testing.B) {
cfg := TestingConfig()
cfg.DisableTCP = true
cfg.DisableUTP = true
cfg.ListenHost = func(string) string { return "redonk" }
cl, err := NewClient(cfg)
require.NoError(b, err)
defer cl.Close()