From 4f5387cbbd4bca879fdacb354013f65d1b3efb9c Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 4 Nov 2018 17:51:32 +1100 Subject: [PATCH] Fix benchmark broken by changes to client listeners --- client_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client_test.go b/client_test.go index 4b74a64b..ea7cf9b7 100644 --- a/client_test.go +++ b/client_test.go @@ -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() -- 2.48.1