forked from Public/monero-gui
Write support for tx notes
Support still needs adding for displaying them in the history, but at least they're saved in the cache now, and not ignored.
This commit is contained in:
@@ -260,6 +260,15 @@ void Wallet::setPaymentId(const QString &paymentId)
|
||||
m_paymentId = paymentId;
|
||||
}
|
||||
|
||||
bool Wallet::setUserNote(const QString &txid, const QString ¬e)
|
||||
{
|
||||
return m_walletImpl->setUserNote(txid.toStdString(), note.toStdString());
|
||||
}
|
||||
|
||||
QString Wallet::getUserNote(const QString &txid) const
|
||||
{
|
||||
return QString::fromStdString(m_walletImpl->getUserNote(txid.toStdString()));
|
||||
}
|
||||
|
||||
Wallet::Wallet(Bitmonero::Wallet *w, QObject *parent)
|
||||
: QObject(parent)
|
||||
|
||||
Reference in New Issue
Block a user