aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPatrick Strateman <patrick.strateman@gmail.com>2016-03-17 17:23:33 -0700
committerPatrick Strateman <patrick.strateman@gmail.com>2016-03-18 21:26:49 -0700
commitc90036f6645dea7c19e033c11240567371407017 (patch)
tree568fd9644b1e5673f27967e3ea95c6efd89fd6f6 /src/main.cpp
parenta6a860796a44a2805a58391a009ba22752f64e32 (diff)
downloadbitcoin-c90036f6645dea7c19e033c11240567371407017.tar.xz
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 027a36394c..d74c88d235 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;
}