diff options
author | Alexey Ivanov <alexey.ivanes@gmail.com> | 2018-03-19 14:07:17 +0300 |
---|---|---|
committer | Alexey Ivanov <alexey.ivanes@gmail.com> | 2018-03-21 15:40:08 +0300 |
commit | b7fbcc53d043eeb905652063ddc8ee39dad17dae (patch) | |
tree | 406ae37307e9c5699315149785cecf7880bf553c /src/qt/guiutil.cpp | |
parent | 00d1680498c5550e7db1f359202d3433a092fafd (diff) |
Qt: Warn users about invalid-BIP21 URI bitcoin://
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 7c3c68bfef..16ef27a36a 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -209,14 +209,6 @@ bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) bool parseBitcoinURI(QString uri, SendCoinsRecipient *out) { - // Convert bitcoin:// to bitcoin: - // - // Cannot handle this later, because bitcoin:// will cause Qt to see the part after // as host, - // which will lower-case it (and thus invalidate the address). - if(uri.startsWith("bitcoin://", Qt::CaseInsensitive)) - { - uri.replace(0, 10, "bitcoin:"); - } QUrl uriInstance(uri); return parseBitcoinURI(uriInstance, out); } |