Prepend text: to transaction comments sent from UI

This commit is contained in:
Jeremiah Buddenhagen 2018-01-25 17:14:03 -08:00
parent 4bd658ea6d
commit f4c1ef6a5b

View File

@ -262,6 +262,8 @@ void SendCoinsDialog::on_sendButton_clicked()
// prepare transaction for getting txFee earlier
std::string txComment = ui->txComment->text().toStdString();
if (!txComment.empty())
txComment = "text:" + txComment;
WalletModelTransaction currentTransaction(recipients, txComment);
WalletModel::SendCoinsReturn prepareStatus;