Fix to use IPS from config

This commit is contained in:
Vinnie Falco
2013-11-06 05:42:06 -08:00
parent 548fedb859
commit c5ccabec38

View File

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