mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-29 16:24:22 +00:00
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
This commit is contained in:
parent
057bf35bc5
commit
8a041f494f
@ -365,9 +365,8 @@ bool SendCoinsDialog::handlePaymentRequest(const SendCoinsRecipient &rv)
|
|||||||
else {
|
else {
|
||||||
CBitcoinAddress address(rv.address.toStdString());
|
CBitcoinAddress address(rv.address.toStdString());
|
||||||
if (!address.IsValid()) {
|
if (!address.IsValid()) {
|
||||||
QString strAddress(address.ToString().c_str());
|
|
||||||
QMessageBox::warning(this, strSendCoins,
|
QMessageBox::warning(this, strSendCoins,
|
||||||
tr("Invalid payment address %1").arg(strAddress));
|
tr("Invalid payment address %1").arg(rv.address));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user