aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-02 23:48:12 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-02 23:52:50 +0100
commitde742b5c8257c445729d107b0f9fe5700f5ecba3 (patch)
treeb321e2a609b179021bc3e104c4eeb78d520e1929
parentMerge pull request #3858 (diff)
downloadmonero-de742b5c8257c445729d107b0f9fe5700f5ecba3.tar.xz
blockchain: demote a hash-of-hashes validation warning to debug
This data comes from untrusted peers, and validation failures are therefore normal.
-rw-r--r--src/cryptonote_core/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 3334f4983..06fc1ab49 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -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;
}