SuRGeoNix / BitSwarm

Bittorrent library for clients & streaming purposes
GNU Lesser General Public License v3.0
109 stars 8 forks source link

comparing uppercase/lowercase hashes #8

Closed davepermen closed 3 years ago

davepermen commented 3 years ago

Hashes can be uppercase and lowercase, this lead to crashes, as it compared identical hashes as not equal.

with this fix, magnet links with lower case hashes work.

SuRGeoNix commented 3 years ago

Thanks @davepermen! Just wondering how I've never seen this happening :)