Browse Source

Merge pull request #2595 from sipa/noannloc

Don't announce to non-peer CNodes
miguelfreitas
Gregory Maxwell 12 years ago
parent
commit
eef2091fe9
  1. 2
      src/net.h

2
src/net.h

@ -256,7 +256,7 @@ public:
pfilter = NULL; pfilter = NULL;
// Be shy and don't send version until we hear // Be shy and don't send version until we hear
if (!fInbound) if (hSocket != INVALID_SOCKET && !fInbound)
PushVersion(); PushVersion();
} }

Loading…
Cancel
Save