Fix syntax error for torrent hash generation

This commit is contained in:
Tony Blyler 2016-05-13 17:58:59 -04:00
parent 4e5e70f752
commit 819930a8fc
No known key found for this signature in database
GPG key ID: 25C9D3A655D1A65C

View file

@ -13,5 +13,5 @@ func GetTorrentHashHexString(reader io.Reader) (string, error) {
return "", err
}
return strings.ToUpper(info.Info.Hash.HexString()), nil
return strings.ToUpper(info.Info.Hash().HexString()), nil
}