message: net: remove redundant max sendbuffer size check
diff: @@ -5246,8 +5246,6 @@ void static ProcessGetData(CNode* pfrom, CConnman& connman, std::atomic<bool>& i
  bool fRequestedSporksIDB = false;
  bool static ProcessMessage(CNode* pfrom, std::string strCommand, CDataStream& vRecv, int64_t nTimeReceived, CConnman& connman, std::atomic<bool>& interruptMsgProc)
  {
  - unsigned int nMaxSendBufferSize = connman.GetSendBufferSize();
  -
  LogPrint(BCLog::NET, "received: %s (%u bytes) peer=%d\n", SanitizeString(strCommand), vRecv.size(), pfrom->id);
  if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0) {
  LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
  @@ -5496,11 +5494,6 @@ bool static ProcessMessage(CNode* pfrom, std::string strCommand, CDataStream& vR
  // Track requests for our stuff
  GetMainSignals().Inventory(inv.hash);
  -
  - if (pfrom->nSendSize > (nMaxSendBufferSize * 2)) {
  - Misbehaving(pfrom->GetId(), 50);
  - return error("send buffer size() = %u", pfrom->nSendSize);
  - }
  }
  if (!vToFetch.empty())
  