Always disconnect old nodes which request filtered connections.

This commit is contained in:
Patrick Strateman
2016-03-17 17:23:33 -07:00
parent a6a860796a
commit c90036f664
4 changed files with 2 additions and 5 deletions

View File

@@ -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;
}