diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-10-11 14:29:09 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-10-11 14:29:09 +0200 |
commit | 8a041f494fd04f86a7813716919140bc3c664642 (patch) | |
tree | c0a24abbe667dd789f18160215ce50bd3c312546 /src/qt/sendcoinsdialog.cpp | |
parent | 057bf35bc5c9e1fa3baaef41435984fc46516880 (diff) |
sendcoinsdialog: display real failed address string
- display the real string (faulty address), which causes the valid address
check to fail, instead of a stringified "nonsense" CBitcoinAddress
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 00cea463ef..3fd4a26e76 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -365,9 +365,8 @@ bool SendCoinsDialog::handlePaymentRequest(const SendCoinsRecipient &rv) else { CBitcoinAddress address(rv.address.toStdString()); if (!address.IsValid()) { - QString strAddress(address.ToString().c_str()); QMessageBox::warning(this, strSendCoins, - tr("Invalid payment address %1").arg(strAddress)); + tr("Invalid payment address %1").arg(rv.address)); return false; } } |