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

This data comes from untrusted peers, and validation failures
are therefore normal.
pull/88/head
moneromooo-monero 6 years ago
parent bd56771996
commit de742b5c82
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -3911,7 +3911,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;
}

Loading…
Cancel
Save