]> Sergey Matveev's repositories - btrtrc.git/blobdiff - t.go
Use metainfo.Hash for piece and info hashes
[btrtrc.git] / t.go
diff --git a/t.go b/t.go
index fffdb858f249f70327459435e26e30c1b20c2150..e207a09a337c5d14b8923b6b79895a1fc165f037 100644 (file)
--- a/t.go
+++ b/t.go
@@ -8,7 +8,7 @@ import (
 
 // The torrent's infohash. This is fixed and cannot change. It uniquely
 // identifies a torrent.
-func (t *Torrent) InfoHash() metainfo.InfoHash {
+func (t *Torrent) InfoHash() metainfo.Hash {
        return t.infoHash
 }