diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-27 16:22:03 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-27 16:22:03 -0500 |
commit | 87d7612311339a7dd50c30daeb35f461b0f7d003 (patch) | |
tree | 5fdb118b72a2140e30978c9498b42742b641158c | |
parent | Merge pull request #3982 (diff) | |
parent | Remove old logic saved in comments. (diff) | |
download | monero-87d7612311339a7dd50c30daeb35f461b0f7d003.tar.xz |
Merge pull request #3986
b628503 Remove old logic saved in comments. (jeandudey)
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 4 |
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; } |