mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix to use IPS from config
This commit is contained in:
@@ -503,18 +503,18 @@ public:
|
||||
nodeNetwork ();
|
||||
}
|
||||
|
||||
// Take the set of entries in IPS_FIXED and insert them into the
|
||||
// Take the set of entries in IPS and insert them into the
|
||||
// "legacy endpoint" database so they will be served as IP addresses
|
||||
// in the legacy mtPEERS message. Note that this is all replaced by
|
||||
// the new PeerFinder.
|
||||
//
|
||||
if (!getConfig ().IPS_FIXED.empty ())
|
||||
if (!getConfig ().IPS.empty ())
|
||||
{
|
||||
std::vector<std::string> vstrValues;
|
||||
|
||||
vstrValues.reserve (getConfig ().IPS_FIXED.size ());
|
||||
vstrValues.reserve (getConfig ().IPS.size ());
|
||||
|
||||
BOOST_FOREACH (const std::string & strPeer, getConfig ().IPS_FIXED)
|
||||
BOOST_FOREACH (const std::string & strPeer, getConfig ().IPS)
|
||||
{
|
||||
std::string strIP;
|
||||
int iPort;
|
||||
|
||||
Reference in New Issue
Block a user