From 788064dd12ab7a7075ad24771f377587ad93b68d Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 30 Apr 2013 16:12:21 +0200 Subject: [PATCH] Don't announce to non-peer CNodes --- src/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.h b/src/net.h index df34f5a88..af66eed07 100644 --- a/src/net.h +++ b/src/net.h @@ -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(); }