mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 09:04:14 +00:00
flood to 3 closest floodfills
This commit is contained in:
parent
32fe2e7974
commit
b4e324ec0e
@ -550,7 +550,7 @@ namespace data
|
|||||||
std::set<IdentHash> excluded;
|
std::set<IdentHash> excluded;
|
||||||
for (int i = 0; i < 3; i++)
|
for (int i = 0; i < 3; i++)
|
||||||
{
|
{
|
||||||
auto floodfill = GetClosestFloodfill (ident, excluded, true); // we need a floodfill close than us only
|
auto floodfill = GetClosestFloodfill (ident, excluded);
|
||||||
if (floodfill)
|
if (floodfill)
|
||||||
transports.SendMessage (floodfill->GetIdentHash (), floodMsg);
|
transports.SendMessage (floodfill->GetIdentHash (), floodMsg);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user