Remove md5sum fields from the encoder/decoder helper structs.

There is no need for them.
This commit is contained in:
nsf 2012-07-04 05:29:47 +06:00
parent cfafbffbc1
commit ae6df86341
1 changed files with 0 additions and 2 deletions

View File

@ -137,7 +137,6 @@ func LoadFromFile(filename string) (*MetaInfo, error) {
type torrent_info_file struct {
Path []string `bencode:"path"`
Length int64 `bencode:"length"`
MD5Sum []byte `bencode:"md5sum,omitempty"`
}
type torrent_info struct {
@ -145,7 +144,6 @@ type torrent_info struct {
Pieces []byte `bencode:"pieces"`
Name string `bencode:"name"`
Length int64 `bencode:"length,omitempty"`
MD5Sum []byte `bencode:"md5sum,omitempty"`
Private bool `bencode:"private,omitempty"`
Files []torrent_info_file `bencode:"files,omitempty"`
}