| 289 | } |
| 290 | |
| 291 | bool IsRouterDuplicated (const IdentHash& identHash) |
| 292 | { |
| 293 | std::lock_guard<std::mutex> l(g_ProfilesMutex); |
| 294 | auto it = g_Profiles.find (identHash); |
| 295 | if (it != g_Profiles.end ()) |
| 296 | return it->second->IsDuplicated (); |
| 297 | return false; |
| 298 | } |
| 299 | |
| 300 | void InitProfilesStorage () |
| 301 | { |
no test coverage detected