Browse Source

Merge branch 'master' of github.com:ethereum/ethash

cl-refactor
Gav Wood 10 years ago
parent
commit
c33972f4a0
  1. 4
      ethash.h

4
ethash.h

@ -79,9 +79,9 @@ static inline int ethash_check_difficulty(
// Difficulty is big endian // Difficulty is big endian
for (int i = 0; i < 32; i++) { for (int i = 0; i < 32; i++) {
if (hash[i] == difficulty[i]) continue; if (hash[i] == difficulty[i]) continue;
return hash[i] < difficulty[i]; return hash[i] < difficulty[i];
} }
return 0; return 1;
} }
int ethash_quick_check_difficulty( int ethash_quick_check_difficulty(

Loading…
Cancel
Save