diff options
| author | Alexey Ivanov <[email protected]> | 2018-03-19 14:07:17 +0300 |
|---|---|---|
| committer | Alexey Ivanov <[email protected]> | 2018-03-21 15:40:08 +0300 |
| commit | b7fbcc53d043eeb905652063ddc8ee39dad17dae (patch) | |
| tree | 406ae37307e9c5699315149785cecf7880bf553c /src/qt/guiutil.cpp | |
| parent | Merge #12710: Append scripts to new test_list array to fix bad assignment (diff) | |
| download | discoin-b7fbcc53d043eeb905652063ddc8ee39dad17dae.tar.xz discoin-b7fbcc53d043eeb905652063ddc8ee39dad17dae.zip | |
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 7c3c68bfe..16ef27a36 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); } |