aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPatrick Strateman <[email protected]>2016-03-17 17:23:33 -0700
committerPatrick Strateman <[email protected]>2016-03-18 21:26:49 -0700
commitc90036f6645dea7c19e033c11240567371407017 (patch)
tree568fd9644b1e5673f27967e3ea95c6efd89fd6f6 /src/main.cpp
parentMerge #7621: Fixes ZMQ startup with bad arguments. (diff)
downloaddiscoin-c90036f6645dea7c19e033c11240567371407017.tar.xz
discoin-c90036f6645dea7c19e033c11240567371407017.zip
Always disconnect old nodes which request filtered connections.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 027a36394..d74c88d23 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4377,7 +4377,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
if (pfrom->nVersion >= NO_BLOOM_VERSION) {
Misbehaving(pfrom->GetId(), 100);
return false;
- } else if (GetBoolArg("-enforcenodebloom", DEFAULT_ENFORCENODEBLOOM)) {
+ } else {
pfrom->fDisconnect = true;
return false;
}