aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-11-16 11:07:40 +0200
committerRiccardo Spagni <ric@spagni.net>2018-11-16 11:07:40 +0200
commit20bf9b93ddce286adba1d5ea97883d39e941b98d (patch)
treea1882e06c3b5f89235eb6cf9f36fff57880f9c85 /src/wallet/wallet2.cpp
parentMerge pull request #4788 (diff)
parentwallet2: fix print_ring printing double entries for transactions (diff)
downloadmonero-20bf9b93ddce286adba1d5ea97883d39e941b98d.tar.xz
Merge pull request #4789
0afdb00b wallet2: fix print_ring printing double entries for transactions (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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 7d92df239..1e189fbb3 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -1929,6 +1929,7 @@ void wallet2::process_outgoing(const crypto::hash &txid, const cryptonote::trans
entry.first->second.m_subaddr_indices = subaddr_indices;
}
+ entry.first->second.m_rings.clear();
for (const auto &in: tx.vin)
{
if (in.type() != typeid(cryptonote::txin_to_key))