mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
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
|
||||
{
|
||||
#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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue