ci->m_subaddrAccount = td.m_subaddr_index.major;
ci->m_address = QString::fromStdString(m_wallet2->get_subaddress_as_str(td.m_subaddr_index)); // todo: this is expensive, cache maybe?
ci->m_addressLabel = QString::fromStdString(m_wallet2->get_subaddress_label(td.m_subaddr_index));
+ ci->m_txNote = QString::fromStdString(m_wallet2->get_tx_note(td.m_txid));
ci->m_keyImage = QString::fromStdString(epee::string_tools::pod_to_hex(td.m_key_image));
ci->m_unlockTime = td.m_tx.unlock_time;
ci->m_unlocked = m_wallet2->is_transfer_unlocked(td);
bool coinbase() const;
QString description() const;
bool change() const;
+ QString txNote() const;
void setUnlocked(bool unlocked);
bool m_coinbase;
QString m_description;
bool m_change;
+ QString m_txNote;
};
#endif //FEATHER_COINSINFO_H
case Label: {
if (!cInfo.description().isEmpty())
return cInfo.description();
+ if (!cInfo.txNote().isEmpty())
+ return cInfo.txNote();
return cInfo.addressLabel();
}
case Spent: