Add BIP70 deprecation warning
This commit is contained in:
parent
38b98507cd
commit
fbb643d2a5
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue