Change hash, check warning to debug level

This commit is contained in:
wowario 2018-09-26 23:33:06 +03:00
parent f7ab91fecb
commit bbf769360d
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 3 additions and 3 deletions

View File

@ -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