From a8bd23ddaf0ef33b73b970c567cd5c38a9c2a17a Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 29 Jul 2013 04:10:56 +0400 Subject: [PATCH] Don't announce non-peer CNodes --- src/net.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/net.h b/src/net.h index b2b03fa..a7d9c62 100644 --- a/src/net.h +++ b/src/net.h @@ -241,7 +241,7 @@ public: setInventoryKnown.max_size(SendBufferSize() / 1000); // Be shy and don't send version until we hear - if (!fInbound) + if (hSocket != INVALID_SOCKET && !fInbound) PushVersion(); } -- 1.7.1