Browse Source

flood to 3 closest floodfills

pull/383/head
orignal 9 years ago
parent
commit
b4e324ec0e
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -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…
Cancel
Save