FIXED?
This commit is contained in:
@@ -1380,6 +1380,11 @@ void ThreadOpenConnections()
|
||||
|
||||
// Add seed nodes if DNS seeds are all down (an infrastructure attack?).
|
||||
// if (addrman.size() == 0 && (GetTime() - nStart > 60)) {
|
||||
extern int8_t is_STAKED(const char *chain_name);
|
||||
extern char ASSETCHAINS_SYMBOL[65];
|
||||
// skip DNS seeds for staked chains.
|
||||
if ( is_STAKED(ASSETCHAINS_SYMBOL) == 0 )
|
||||
{
|
||||
if (GetTime() - nStart > 60) {
|
||||
static bool done = false;
|
||||
if (!done) {
|
||||
@@ -1389,6 +1394,7 @@ void ThreadOpenConnections()
|
||||
done = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Choose an address to connect to based on most recently seen
|
||||
|
||||
Reference in New Issue
Block a user