Skip to content

Commit

Permalink
Add BIP70 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshilliard committed Oct 22, 2018
1 parent 38b9850 commit fbb643d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qt/paymentserver.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit fbb643d

Please sign in to comment.