torrent_test.go | 2 +- diff --git a/torrent_test.go b/torrent_test.go index 6133f5df88662d158bb09d0f1cd56d515f52ef0c..cdedad1e9bff88f8e6acdc4f24d34cc4d264ca5e 100644 --- a/torrent_test.go +++ b/torrent_test.go @@ -80,7 +80,7 @@ const ( numPieces = 13410 pieceLength = 256 << 10 ) - cl := &Client{config: &ClientConfig{}} + cl := &Client{config: TestingConfig()} cl.initLogger() t := cl.newTorrent(metainfo.Hash{}, nil) require.NoError(b, t.setInfo(&metainfo.Info{