aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-27 16:22:03 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-27 16:22:03 -0500
commit87d7612311339a7dd50c30daeb35f461b0f7d003 (patch)
tree5fdb118b72a2140e30978c9498b42742b641158c /src
parentMerge pull request #3982 (diff)
parentRemove old logic saved in comments. (diff)
downloadmonero-87d7612311339a7dd50c30daeb35f461b0f7d003.tar.xz
Merge pull request #3986
b628503 Remove old logic saved in comments. (jeandudey)
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 092a649e5..fb88a13cb 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -2017,9 +2017,9 @@ bool Blockchain::find_blockchain_supplement(const std::list<crypto::hash>& qbloc
// make sure the request includes at least the genesis block, otherwise
// how can we expect to sync from the client that the block list came from?
- if(!qblock_ids.size() /*|| !req.m_total_height*/)
+ if(!qblock_ids.size())
{
- MCERROR("net.p2p", "Client sent wrong NOTIFY_REQUEST_CHAIN: m_block_ids.size()=" << qblock_ids.size() << /*", m_height=" << req.m_total_height <<*/ ", dropping connection");
+ MCERROR("net.p2p", "Client sent wrong NOTIFY_REQUEST_CHAIN: m_block_ids.size()=" << qblock_ids.size() << ", dropping connection");
return false;
}