diff options
| author | Philip Kaufmann <[email protected]> | 2013-10-11 14:29:09 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-10-11 14:29:09 +0200 |
| commit | 8a041f494fd04f86a7813716919140bc3c664642 (patch) | |
| tree | c0a24abbe667dd789f18160215ce50bd3c312546 | |
| parent | sendcoinsentry: small clear() and setValue() changes (diff) | |
| download | discoin-8a041f494fd04f86a7813716919140bc3c664642.tar.xz discoin-8a041f494fd04f86a7813716919140bc3c664642.zip | |
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
| -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 00cea463e..3fd4a26e7 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; } } |