Commit 0385af7a authored by Julien Lepiller's avatar Julien Lepiller

torrent: Fix piece hashes order.

* torrent/metainfo.scm (parse-info): Fix pieces order.
parent bb39949b
......@@ -86,7 +86,7 @@
(single-file? (not (assoc-ref info "files"))))
(make-torrent-info
(assoc-ref info "piece length")
(split-pieces (assoc-ref info "pieces"))
(reverse (split-pieces (assoc-ref info "pieces")))
(assoc-ref info "private")
single-file?
(assoc-ref info "name")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment