wallet2: fix print_ring printing double entries for transactions

When a tx gets from unconfirmed to conirmed, the rings for that
transaction were being added twice
pull/127/head
moneromooo-monero 6 years ago
parent 963d247154
commit 0afdb00b9d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -1919,6 +1919,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))

Loading…
Cancel
Save