mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
wallet2: detect multiple outputs from a tx to different subaddresses
This commit is contained in:
parent
dc6a8014bd
commit
d875a9ff90
@ -433,7 +433,7 @@ static void emplace_or_replace(std::unordered_multimap<crypto::hash, tools::wall
|
||||
auto range = container.equal_range(key);
|
||||
for (auto i = range.first; i != range.second; ++i)
|
||||
{
|
||||
if (i->second.m_pd.m_tx_hash == pd.m_pd.m_tx_hash)
|
||||
if (i->second.m_pd.m_tx_hash == pd.m_pd.m_tx_hash && i->second.m_pd.m_subaddr_index == pd.m_pd.m_subaddr_index)
|
||||
{
|
||||
i->second = pd;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user