diff --git a/src/crypto/equihash.tcc b/src/crypto/equihash.tcc index 9b0190811..1496c174d 100644 --- a/src/crypto/equihash.tcc +++ b/src/crypto/equihash.tcc @@ -27,7 +27,7 @@ bool IsProbablyDuplicate(std::shared_ptr indices, size_t lenIndices) { assert(lenIndices <= MAX_INDICES); bool checked_index[MAX_INDICES] = {false}; - bool count_checked = 0; + int count_checked = 0; for (int z = 0; z < lenIndices; z++) { // Skip over indices we have already paired if (!checked_index[z]) {