Skip to content
Snippets Groups Projects
Commit 7c973d53 authored by Amna Snene's avatar Amna Snene
Browse files

tools: update connectionManagerConfig

Change-Id: Ib74ad7f08b3bd7be20492863d123025688fed770
parent b10c6e7c
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ connectionManagerConfig(const std::filesystem::path& path,
if (logger)
logger->debug("Identity announced {}\n", ok);
};
dhtContext.certificateStore = [&](const dht::InfoHash& pk_id) {
dhtContext.certificateStore = [certStore](const dht::InfoHash& pk_id) {
std::vector<std::shared_ptr<dht::crypto::Certificate>> ret;
if (auto cert = certStore->getCertificate(pk_id.toString()))
ret.emplace_back(std::move(cert));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment