Prepend text: to transaction comments sent from UI
This commit is contained in:
parent
4bd658ea6d
commit
f4c1ef6a5b
@ -262,6 +262,8 @@ void SendCoinsDialog::on_sendButton_clicked()
|
|||||||
|
|
||||||
// prepare transaction for getting txFee earlier
|
// prepare transaction for getting txFee earlier
|
||||||
std::string txComment = ui->txComment->text().toStdString();
|
std::string txComment = ui->txComment->text().toStdString();
|
||||||
|
if (!txComment.empty())
|
||||||
|
txComment = "text:" + txComment;
|
||||||
WalletModelTransaction currentTransaction(recipients, txComment);
|
WalletModelTransaction currentTransaction(recipients, txComment);
|
||||||
WalletModel::SendCoinsReturn prepareStatus;
|
WalletModel::SendCoinsReturn prepareStatus;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user