Don't announce to non-peer CNodes

This commit is contained in:
Pieter Wuille 2013-04-30 16:12:21 +02:00
parent 1c621e70be
commit 788064dd12

View file

@ -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();
}