aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.cpp
diff options
context:
space:
mode:
authorJames Hilliard <[email protected]>2018-10-09 15:16:32 -0600
committerJames Hilliard <[email protected]>2018-10-22 04:10:40 -0600
commitfbb643d2a55ade3c06593a7490601acd2e36dce8 (patch)
treef79d44ff02075067913a9c5d112b2c0f120dc214 /src/qt/paymentserver.cpp
parentqt: cleanup: Move BIP70 functions together in paymentserver (diff)
downloaddiscoin-fbb643d2a55ade3c06593a7490601acd2e36dce8.tar.xz
discoin-fbb643d2a55ade3c06593a7490601acd2e36dce8.zip
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 28016fc86..3f118e37f 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);