]> Sergey Matveev's repositories - btrtrc.git/blobdiff - connection_test.go
fixes various vet errors
[btrtrc.git] / connection_test.go
index 69e3c9d8bcda6d5774e6c726476af9c982cb30ff..d9924d181edc4d76edbf8020376412084a7db6ce 100644 (file)
@@ -96,7 +96,7 @@ func BenchmarkConnectionMainReadLoop(b *testing.B) {
        ts := &torrentStorage{}
        t := &Torrent{
                cl:                cl,
-               storage:           &storage.Torrent{ts},
+               storage:           &storage.Torrent{TorrentImpl: ts},
                pieceStateChanges: pubsub.NewPubSub(),
        }
        require.NoError(b, t.setInfo(&metainfo.Info{