Skip to content

Commit fbb643d

Browse files
committed
Add BIP70 deprecation warning
1 parent 38b9850 commit fbb643d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/paymentserver.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
295295
if (uri.hasQueryItem("r")) // payment request URI
296296
{
297297
#ifdef ENABLE_BIP70
298+
Q_EMIT message(tr("URI handling"),
299+
tr("You are using a BIP70 URL which will be unsupported in the future."),
300+
CClientUIInterface::ICON_WARNING);
298301
QByteArray temp;
299302
temp.append(uri.queryItemValue("r"));
300303
QString decoded = QUrl::fromPercentEncoding(temp);

0 commit comments

Comments
 (0)