Fix syntax error for torrent hash generation
This commit is contained in:
parent
4e5e70f752
commit
819930a8fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue