mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #3986
b628503
Remove old logic saved in comments. (jeandudey)
This commit is contained in:
commit
87d7612311
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue