aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-07-03 15:16:37 +0200
committerRiccardo Spagni <ric@spagni.net>2018-07-03 15:16:37 +0200
commit27ca6ca59425d15abbe8777960066b917473dbf6 (patch)
tree87756f4cd7876020d2c0aaa17b23ab7e33c0c4cd /src
parentMerge pull request #3997 (diff)
parentwallet2: fix out of sync account tag cache (diff)
downloadmonero-27ca6ca59425d15abbe8777960066b917473dbf6.tar.xz
Merge pull request #4004
bc443494 wallet2: fix out of sync account tag cache (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 1a1537e62..30eb583fe 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -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)
{