Merge #10351: removed unused code in INV message
c707ca8
removed unused code in INV message (Greg Griffith)
Tree-SHA512: 8152e9bfb7e1e8a321e7c05ea46826b3ecea6fa5e176727a9c944db170cb134ba1adfa0251bece9683a68d52266291bca58240929337aba6328b915931e60eb9
This commit is contained in:
commit
3f57c55dba
1 changed files with 0 additions and 5 deletions
|
@ -1552,8 +1552,6 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
|
|||
|
||||
uint32_t nFetchFlags = GetFetchFlags(pfrom);
|
||||
|
||||
std::vector<CInv> vToFetch;
|
||||
|
||||
for (unsigned int nInv = 0; nInv < vInv.size(); nInv++)
|
||||
{
|
||||
CInv &inv = vInv[nInv];
|
||||
|
@ -1593,9 +1591,6 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
|
|||
// Track requests for our stuff
|
||||
GetMainSignals().Inventory(inv.hash);
|
||||
}
|
||||
|
||||
if (!vToFetch.empty())
|
||||
connman.PushMessage(pfrom, msgMaker.Make(NetMsgType::GETDATA, vToFetch));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue