Change hash, check warning to debug level

pull/93/head
wowario 6 years ago
parent f7ab91fecb
commit bbf769360d
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -3934,9 +3934,9 @@ uint64_t Blockchain::prevalidate_block_hashes(uint64_t height, const std::list<c
crypto::hash hash;
cn_fast_hash(data.data() + (n - first_index) * HASH_OF_HASHES_STEP, HASH_OF_HASHES_STEP * sizeof(crypto::hash), hash);
MWARNING("block: " << height << " - " << epee::string_tools::pod_to_hex(hashes.front()));
MWARNING("block: " << height + hashes.size() << " - " << epee::string_tools::pod_to_hex(hashes.back()));
MWARNING("first_index: " << first_index << " - " << last_index);
MDEBUG("block: " << height << " - " << epee::string_tools::pod_to_hex(hashes.front()));
MDEBUG("block: " << height + hashes.size() << " - " << epee::string_tools::pod_to_hex(hashes.back()));
MDEBUG("first_index: " << first_index << " - " << last_index);
bool valid = hash == m_blocks_hash_of_hashes[n];
// add to the known hashes array

Loading…
Cancel
Save