[Qt] Show and store message of normal bitcoin:URI

This commit is contained in:
Cozz Lovan
2014-01-21 23:39:29 +01:00
parent 250b4bcf6b
commit 22a51207ae
4 changed files with 33 additions and 0 deletions

View File

@@ -269,6 +269,8 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran
rcp.paymentRequest.SerializeToString(&value);
newTx->vOrderForm.push_back(make_pair(key, value));
}
else if (!rcp.message.isEmpty()) // Message from normal bitcoin:URI (bitcoin:123...?message=example)
newTx->vOrderForm.push_back(make_pair("Message", rcp.message.toStdString()));
}
CReserveKey *keyChange = transaction.getPossibleKeyChange();