aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.cpp
diff options
context:
space:
mode:
authorJames Hilliard <james.hilliard1@gmail.com>2018-10-09 15:16:32 -0600
committerJames Hilliard <james.hilliard1@gmail.com>2018-10-22 04:10:40 -0600
commitfbb643d2a55ade3c06593a7490601acd2e36dce8 (patch)
treef79d44ff02075067913a9c5d112b2c0f120dc214 /src/qt/paymentserver.cpp
parent38b98507cdda02ff02a524d41bcc3427ca9e4fd9 (diff)
downloadbitcoin-fbb643d2a55ade3c06593a7490601acd2e36dce8.tar.xz
Add BIP70 deprecation warning
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r--src/qt/paymentserver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp
index 28016fc860..3f118e37f1 100644
--- a/src/qt/paymentserver.cpp
+++ b/src/qt/paymentserver.cpp
@@ -295,6 +295,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
if (uri.hasQueryItem("r")) // payment request URI
{
#ifdef ENABLE_BIP70
+ Q_EMIT message(tr("URI handling"),
+ tr("You are using a BIP70 URL which will be unsupported in the future."),
+ CClientUIInterface::ICON_WARNING);
QByteArray temp;
temp.append(uri.queryItemValue("r"));
QString decoded = QUrl::fromPercentEncoding(temp);