mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
request destination if we are not closest
This commit is contained in:
parent
42f70cd55d
commit
adf887a06b
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ namespace data
|
||||||
if (!numExcluded) // save if no excluded
|
if (!numExcluded) // save if no excluded
|
||||||
{
|
{
|
||||||
m_LookupResponses[ident] = std::make_pair(closestFloodfills, i2p::util::GetSecondsSinceEpoch ());
|
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
|
RequestDestination (ident); // try to request for first time only
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue