don't store full path with RouterInfo

This commit is contained in:
orignal 2021-10-07 15:08:33 -04:00
parent 49e8cf89d8
commit 48131f4597
3 changed files with 19 additions and 18 deletions

View file

@ -963,7 +963,8 @@ namespace data
if (router)
{
LogPrint (eLogDebug, "NetDb: requested RouterInfo ", key, " found");
router->LoadBuffer ();
if (!router->GetBuffer ())
router->LoadBuffer (m_Storage.Path (router->GetIdentHashBase64 ()));
if (router->GetBuffer ())
replyMsg = CreateDatabaseStoreMsg (router);
}