aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Hilliard <[email protected]>2019-09-12 14:07:53 +0300
committerJames Hilliard <[email protected]>2019-09-12 14:11:34 +0300
commit1153caf78e21f6a9406430b704c7c74eb90975ca (patch)
tree509630f2fe675de15bd3ad8fda45fdaca26d3730 /src
parentMerge #16551: test: Test that low difficulty chain fork is rejected (diff)
downloaddiscoin-1153caf78e21f6a9406430b704c7c74eb90975ca.tar.xz
discoin-1153caf78e21f6a9406430b704c7c74eb90975ca.zip
Qt: advise users not to switch wallets when opening a BIP70 URI.
Diffstat (limited to 'src')
-rw-r--r--src/qt/paymentserver.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp
index 0bb87742e..00d83d23d 100644
--- a/src/qt/paymentserver.cpp
+++ b/src/qt/paymentserver.cpp
@@ -328,7 +328,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
#ifndef ENABLE_BIP70
if (uri.hasQueryItem("r")) { // payment request
Q_EMIT message(tr("URI handling"),
- tr("Cannot process payment request because BIP70 support was not compiled in."),
+ tr("Cannot process payment request because BIP70 support was not compiled in.")+
+ tr("Due to widespread security flaws in BIP70 it's strongly recommended that any merchant instructions to switch wallets be ignored.")+
+ tr("If you are receiving this error you should request the merchant provide a BIP21 compatible URI."),
CClientUIInterface::ICON_WARNING);
}
#endif
@@ -364,7 +366,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
return;
#else
Q_EMIT message(tr("Payment request file handling"),
- tr("Cannot process payment request because BIP70 support was not compiled in."),
+ tr("Cannot process payment request because BIP70 support was not compiled in.")+
+ tr("Due to widespread security flaws in BIP70 it's strongly recommended that any merchant instructions to switch wallets be ignored.")+
+ tr("If you are receiving this error you should request the merchant provide a BIP21 compatible URI."),
CClientUIInterface::ICON_WARNING);
#endif
}