diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-10-18 13:44:27 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-10-23 09:15:25 +0200 |
| commit | 03535acd053fc0597a9e1fd76c5c7b1f54f5c1df (patch) | |
| tree | 98b137a8f4efc3a1ddd46d5aa840515c22261491 /src/qt/test/uritests.cpp | |
| parent | qt: allow dragging, copying and saving QR code (diff) | |
| download | discoin-03535acd053fc0597a9e1fd76c5c7b1f54f5c1df.tar.xz discoin-03535acd053fc0597a9e1fd76c5c7b1f54f5c1df.zip | |
qt: add message field to SendCoinsRecipient
Also update URI parsing to fill in this field.
Note that the message is not currently used in any way with the client.
It should be stored with the transaction.
Diffstat (limited to 'src/qt/test/uritests.cpp')
| -rw-r--r-- | src/qt/test/uritests.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/test/uritests.cpp b/src/qt/test/uritests.cpp index 802d74719..df4df3154 100644 --- a/src/qt/test/uritests.cpp +++ b/src/qt/test/uritests.cpp @@ -50,9 +50,8 @@ void URITests::uriTests() QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString()); - // We currently don't implement the message parameter (ok, yea, we break spec...) uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?req-message=Wikipedia Example Address")); - QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=1,000&label=Wikipedia Example")); QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); |