diff options
| author | fanquake <[email protected]> | 2019-10-12 12:49:29 -0400 |
|---|---|---|
| committer | fanquake <[email protected]> | 2019-10-24 16:01:43 -0400 |
| commit | 3548e4aac72e9148d41b440052a89d89328f7661 (patch) | |
| tree | 23c26a5a60cd802e1fdd92dc2349331ad9e08a0d /src/qt/sendcoinsdialog.cpp | |
| parent | docs: remove protobuf from docs (diff) | |
| download | discoin-3548e4aac72e9148d41b440052a89d89328f7661.tar.xz discoin-3548e4aac72e9148d41b440052a89d89328f7661.zip | |
Remove BIP70 Support
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
| -rw-r--r-- | src/qt/sendcoinsdialog.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 80ea6cd2e..8edcca684 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -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); } |