commonsmachinery / blockhash

blockhash.io
MIT License
88 stars 28 forks source link

Tests are failure, hash values are not match #31

Closed eredotpkfr closed 11 months ago

eredotpkfr commented 3 years ago

Tests are failure when I run following commands:

:~# cd blockhash/ && ./waf configure
:~# ./waf
:~# ./test.sh

The output is:

--- exact-hashes.txt    2021-08-20 19:48:07.233964244 +0300
+++ -   2021-08-20 19:49:03.403555970 +0300
@@ -1,5 +1,5 @@
 00000000fffffffff803f807f807f80ff90ff90fb90c9980ffffffff00000000  puffy_white.png
-00000fe07ff8fff81ff8399831983bcc35ac303c384c3ffc0ef08660c003ffff  00133601.jpg
+00000fe07ff8fff81ff8399831983bcc35ac303c384c3ffc8ef00660c003ffff  00133601.jpg
 00007ff07ff07fe07fe67ff07560600077fe701e7f5e000079fd40410001ffff  clipper_ship.jpg
 000083f887fe8fff0fe00fe00ff80ff807fc07f807f803f803e003e007e0ffff  00136101.jpg
 0002001f1fff1fff7ff71ff301f300007f9278f0f8700fc0ff98cc88c1cc03fc  32499201.jpg

00133601.jpg file hash value does not match. I looked at other blockhash implementations (blockhash-python). 00133601.jpg file hash values are followings:

exact: 00000fe07ff8fff81ff8399831983bcc35ac303c384c3ffc8ef00660c003ffff quick(even): 00000fe07ff8fff81ff839d831883bcc39dc31ac300c3ffc9ef88e708041f1bf

00133601.jpg file hash values in this repository: exact: 00000fe07ff8fff81ff8399831983bcc35ac303c384c3ffc0ef08660c003ffff quick: 00000fe07ff8fff81ff839d831883bcc39dc31ac300c3ffc9ef88e708041f1bf

As I understund, exact hash values are not match, so tests are failure. Can you fix it?