From 7ff7dc4b069404ac328d90953ca84b2022e4c6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C4=85tkowski?= Date: Wed, 10 Aug 2022 01:17:25 +0200 Subject: [PATCH] Fix comment --- pkg/persistence/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/persistence/interface.go b/pkg/persistence/interface.go index 103f7cd..1e4d39d 100644 --- a/pkg/persistence/interface.go +++ b/pkg/persistence/interface.go @@ -37,7 +37,7 @@ type Database interface { lastOrderedValue *float64, lastID *uint64, ) ([]TorrentMetadata, error) - // GetTorrents returns the TorrentExtMetadata for the torrent of the given InfoHash. Will return + // GetTorrent returns the TorrentExtMetadata for the torrent of the given InfoHash. Will return // nil, nil if the torrent does not exist in the database. GetTorrent(infoHash []byte) (*TorrentMetadata, error) GetFiles(infoHash []byte) ([]File, error)