mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 16:34:13 +00:00
request destination if we are not closest
This commit is contained in:
parent
42f70cd55d
commit
adf887a06b
@ -884,7 +884,7 @@ namespace data
|
||||
if (!numExcluded) // save if no excluded
|
||||
{
|
||||
m_LookupResponses[ident] = std::make_pair(closestFloodfills, i2p::util::GetSecondsSinceEpoch ());
|
||||
if (lookupType != DATABASE_LOOKUP_TYPE_EXPLORATORY_LOOKUP)
|
||||
if (lookupType != DATABASE_LOOKUP_TYPE_EXPLORATORY_LOOKUP && !closestFloodfills.empty ()) // we are not closest
|
||||
RequestDestination (ident); // try to request for first time only
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user