git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't announce non-peer CNodes
[novacoin.git]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
b2b03fa
..
a7d9c62
100644
(file)
--- 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();
}