mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 04:59:43 +00:00
Merge pull request #1664
b5cb8861
core: fix integrated addresses breaking with auto zero change (moneromooo-monero)
This commit is contained in:
commit
eb21389953
1 changed files with 2 additions and 0 deletions
|
@ -443,6 +443,8 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
if (!memcmp(&destinations[n].addr, &sender_keys.m_account_address, sizeof(destinations[0].addr)))
|
if (!memcmp(&destinations[n].addr, &sender_keys.m_account_address, sizeof(destinations[0].addr)))
|
||||||
continue;
|
continue;
|
||||||
|
if (destinations[n].amount == 0)
|
||||||
|
continue;
|
||||||
if (memcmp(&destinations[n].addr, &destinations[0].addr, sizeof(destinations[0].addr)))
|
if (memcmp(&destinations[n].addr, &destinations[0].addr, sizeof(destinations[0].addr)))
|
||||||
return null_pkey;
|
return null_pkey;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue