diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-30 16:12:21 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-30 19:41:58 +0200 |
commit | 788064dd12ab7a7075ad24771f377587ad93b68d (patch) | |
tree | 988b3a9c0f7f48b97709f9584ec5743879135c4d /src/net.h | |
parent | 1c621e70bee7575cdf31a08c42eeee3db2b7fdbf (diff) |
Don't announce to non-peer CNodes
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 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(); } |