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 bd56771996
commit de742b5c82
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -3911,7 +3911,7 @@ uint64_t Blockchain::prevalidate_block_hashes(uint64_t height, const std::list<c
// add to the known hashes array // add to the known hashes array
if (!valid) 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; break;
} }