aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-05-07 21:45:56 -0700
committerPieter Wuille <[email protected]>2017-05-07 22:01:51 -0700
commit3f57c55dba6ef1fda2bdf6fd9abd8ca7eb6828e4 (patch)
treeb480fcfa446f71bd411df7df610b1b00dc953a1f /src/net_processing.cpp
parentMerge #10171: [tests] Add node methods to test framework (diff)
parentremoved unused code in INV message (diff)
downloaddiscoin-3f57c55dba6ef1fda2bdf6fd9abd8ca7eb6828e4.tar.xz
discoin-3f57c55dba6ef1fda2bdf6fd9abd8ca7eb6828e4.zip
Merge #10351: removed unused code in INV message
c707ca8 removed unused code in INV message (Greg Griffith) Tree-SHA512: 8152e9bfb7e1e8a321e7c05ea46826b3ecea6fa5e176727a9c944db170cb134ba1adfa0251bece9683a68d52266291bca58240929337aba6328b915931e60eb9
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index e91006677..4d924b5cd 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -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));
}