fix unit test

This commit is contained in:
Jeff Becker 2020-02-07 13:48:56 -05:00
parent cd27b33849
commit a9331a1431
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -26,7 +26,7 @@ namespace llarp
for(const auto &pk : valuesFound) for(const auto &pk : valuesFound)
{ {
// lookup router // lookup router
if(router->nodedb()->Has(pk)) if(router and router->nodedb()->Has(pk))
continue; continue;
parent->LookupRouter( parent->LookupRouter(
pk, pk,