mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
Fix creation of torrent files (#9048)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
This commit is contained in:
parent
55d37b938c
commit
3b10ba95d5
@ -244,7 +244,8 @@ func CreateTorrentFileFromInfo(root string, info *metainfo.Info, mi *metainfo.Me
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return torrentFiles.CreateTorrentFromMetaInfo(root, mi)
|
||||
fPath := filepath.Join(root, info.Name+".torrent")
|
||||
return torrentFiles.CreateTorrentFromMetaInfo(fPath, mi)
|
||||
}
|
||||
|
||||
func AllTorrentPaths(dirs datadir.Dirs) ([]string, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user