Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix different info-hashes for uploaded and downloaded torrents #286

Merged
merged 3 commits into from
Sep 13, 2023
Merged

Fix different info-hashes for uploaded and downloaded torrents #286

merged 3 commits into from
Sep 13, 2023

Commits on Sep 13, 2023

  1. test: [#282] compare uploaded and downloaded torrent info-hashes

    The test for downloading a torrent now compares the uplaoded torrent
    info-hash with the downloaded one. It fails becuasse the Index adds the
    `private` field in the `info` dictioanry always, changing the info-hash.
    josecelano committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    b34c7d8 View commit details
    Browse the repository at this point in the history
  2. fix: [#282] downloaded torrent info-hash matches uploaded one

    NOTICE: They only matche when the index doesn't change it becuase it
    removs non-standard fields from the `info` key dictionary. They should
    match if the uploaded torrent does not have any non-stanrdard field in
    the `info` dictionary key.
    josecelano committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    6ff3600 View commit details
    Browse the repository at this point in the history
  3. refactor: [#282] tests

    josecelano committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    d7cc040 View commit details
    Browse the repository at this point in the history