Merge pull request #4004

bc443494 wallet2: fix out of sync account tag cache (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-07-03 15:16:37 +02:00
commit 27ca6ca594
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -950,6 +950,7 @@ void wallet2::expand_subaddresses(const cryptonote::subaddress_index& index)
}
m_subaddress_labels.resize(index.major + 1, {"Untitled account"});
m_subaddress_labels[index.major].resize(index.minor + 1);
get_account_tags();
}
else if (m_subaddress_labels[index.major].size() <= index.minor)
{