Add BIP70 deprecation warning

This commit is contained in:
James Hilliard committed 2018-10-22 04:10:40 -06:00
1 parent 38b98507cd
commit fbb643d2a5
1 file changed
+3
+3
View File
@@ -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);