Browse Source

Don't announce to non-peer CNodes

0.8
Pieter Wuille 12 years ago
parent
commit
788064dd12
  1. 2
      src/net.h

2
src/net.h

@ -256,7 +256,7 @@ public: @@ -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…
Cancel
Save