Always set NODE_NETWORK_LIMITED bit

The current pruning implementation does ensure to always conform to BIP159
This commit is contained in:
Jonas Schnelli 2017-09-30 20:33:58 -07:00
parent 7caba38568
commit 27df193efd
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D

View File

@ -816,7 +816,7 @@ namespace { // Variables internal to initialization process only
int nMaxConnections;
int nUserMaxConnections;
int nFD;
ServiceFlags nLocalServices = NODE_NETWORK;
ServiceFlags nLocalServices = ServiceFlags(NODE_NETWORK | NODE_NETWORK_LIMITED);
} // namespace