mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Remove BIP70 Support
This commit is contained in:
@@ -291,9 +291,6 @@ void SendCoinsDialog::on_sendButton_clicked()
|
||||
|
||||
QString recipientElement;
|
||||
|
||||
#ifdef ENABLE_BIP70
|
||||
if (!rcp.paymentRequest.IsInitialized()) // normal payment
|
||||
#endif
|
||||
{
|
||||
if(rcp.label.length() > 0) // label with address
|
||||
{
|
||||
@@ -305,17 +302,6 @@ void SendCoinsDialog::on_sendButton_clicked()
|
||||
recipientElement.append(tr("%1 to %2").arg(amount, address));
|
||||
}
|
||||
}
|
||||
#ifdef ENABLE_BIP70
|
||||
else if(!rcp.authenticatedMerchant.isEmpty()) // authenticated payment request
|
||||
{
|
||||
recipientElement.append(tr("%1 to '%2'").arg(amount, rcp.authenticatedMerchant));
|
||||
}
|
||||
else // unauthenticated payment request
|
||||
{
|
||||
recipientElement.append(tr("%1 to %2").arg(amount, address));
|
||||
}
|
||||
#endif
|
||||
|
||||
formatted.append(recipientElement);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user