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

This data comes from untrusted peers, and validation failures
are therefore normal.
release-v0.2.1.0
moneromooo-monero 6 years ago committed by wowario
parent 6995c9bf75
commit 24cd25d87e
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -3944,7 +3944,7 @@ MWARNING("first_index: " << first_index << " - " << last_index);
// 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;
} }

Loading…
Cancel
Save