diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-12-04 13:18:09 +1000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-12-04 13:18:09 +1000 |
commit | 1e01f7c506af60012bb99ced053d98eb529eda61 (patch) | |
tree | bce24878fbe914590a085d06146bd55d024e5559 /src/qt/openuridialog.cpp | |
parent | f15bd3c96f0c6806a5140120a7c3442e08ae3812 (diff) |
Payment request URI syntax changed, from request=... to r=...
BIP 72 was changed to save six bytes in bitcoin: URIs.
Diffstat (limited to 'src/qt/openuridialog.cpp')
-rw-r--r-- | src/qt/openuridialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/openuridialog.cpp b/src/qt/openuridialog.cpp index 803a3c9ddb..06189aeaf3 100644 --- a/src/qt/openuridialog.cpp +++ b/src/qt/openuridialog.cpp @@ -48,5 +48,5 @@ void OpenURIDialog::on_selectFileButton_clicked() if(filename.isEmpty()) return; QUrl fileUri = QUrl::fromLocalFile(filename); - ui->uriEdit->setText("bitcoin:?request=" + QUrl::toPercentEncoding(fileUri.toString())); + ui->uriEdit->setText("bitcoin:?r=" + QUrl::toPercentEncoding(fileUri.toString())); } |