fixed crash at startup if addressbook is disbaled

This commit is contained in:
orignal 2022-08-30 15:18:31 -04:00
parent c54fc7ee44
commit 9abc4cf359

View File

@ -567,6 +567,7 @@ namespace client
void AddressBook::LoadLocal ()
{
if (!m_Storage) return;
std::map<std::string, std::shared_ptr<Address>> localAddresses;
m_Storage->LoadLocal (localAddresses);
for (const auto& it: localAddresses)