check with rc handler before insert

pull/1038/head
Jeff Becker 4 years ago
parent 2af64671bf
commit 9322df013b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -20,7 +20,7 @@
#include <util/thread/logic.hpp>
#include <nodedb.hpp>
#include <profiling.hpp>
#include <router/i_rc_lookup_handler.hpp>
#include <vector>
namespace llarp
@ -41,7 +41,7 @@ namespace llarp
void
StoreRC(const RouterContact rc) const override
{
GetRouter()->nodedb()->InsertAsync(rc);
GetRouter()->rcLookupHandler().CheckRC(rc);
}
/// on behalf of whoasked request introset for target from dht router with

Loading…
Cancel
Save