blockchain: demote a hash-of-hashes validation warning to debug

This data comes from untrusted peers, and validation failures
are therefore normal.
This commit is contained in:
moneromooo-monero 2018-06-02 23:48:12 +01:00
parent 8a7b3ff138
commit f0322a083a
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -3929,7 +3929,7 @@ uint64_t Blockchain::prevalidate_block_hashes(uint64_t height, const std::list<c
// add to the known hashes array
if (!valid)
{
MWARNING("invalid hash for blocks " << n * HASH_OF_HASHES_STEP << " - " << (n * HASH_OF_HASHES_STEP + HASH_OF_HASHES_STEP - 1));
MDEBUG("invalid hash for blocks " << n * HASH_OF_HASHES_STEP << " - " << (n * HASH_OF_HASHES_STEP + HASH_OF_HASHES_STEP - 1));
break;
}