Merge pull request #2595 from sipa/noannloc
Don't announce to non-peer CNodes
This commit is contained in:
commit
eef2091fe9
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ public:
|
|||
pfilter = NULL;
|
||||
|
||||
// Be shy and don't send version until we hear
|
||||
if (!fInbound)
|
||||
if (hSocket != INVALID_SOCKET && !fInbound)
|
||||
PushVersion();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue