wallet: derive encrypted payment ID dummy/real status from tx.extra, not cd.dests

This commit is contained in:
waris )
2026-07-21 02:21:18 +00:00
parent 641e5ca588
commit afcfd9761f
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -1580,7 +1580,7 @@ namespace tools
{
const cryptonote::tx_destination_entry &entry = cd.splitted_dsts[d];
std::string address = cryptonote::get_account_address_as_str(m_wallet->nettype(), entry.is_subaddress, entry.addr);
if (has_encrypted_payment_id && !entry.is_subaddress && address != entry.original)
if (has_encrypted_payment_id && !entry.is_subaddress)
address = cryptonote::get_account_integrated_address_as_str(m_wallet->nettype(), entry.addr, payment_id8);
auto i = tx_dests.find(entry.addr);
if (i == tx_dests.end())