mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-17 08:06:59 +01:00
Add BIP70 deprecation warning
This commit is contained in:
@@ -295,6 +295,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
|
|||||||
if (uri.hasQueryItem("r")) // payment request URI
|
if (uri.hasQueryItem("r")) // payment request URI
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_BIP70
|
#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;
|
QByteArray temp;
|
||||||
temp.append(uri.queryItemValue("r"));
|
temp.append(uri.queryItemValue("r"));
|
||||||
QString decoded = QUrl::fromPercentEncoding(temp);
|
QString decoded = QUrl::fromPercentEncoding(temp);
|
||||||
|
|||||||
Reference in New Issue
Block a user