|
|
|
@ -47,7 +47,7 @@ void URITests::uriTests()
|
|
|
|
|
uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=100&label=Wikipedia Example"));
|
|
|
|
|
QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv));
|
|
|
|
|
QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W"));
|
|
|
|
|
QVERIFY(rv.amount == 10000000000);
|
|
|
|
|
QVERIFY(rv.amount == 10000000000LL);
|
|
|
|
|
QVERIFY(rv.label == QString("Wikipedia Example"));
|
|
|
|
|
|
|
|
|
|
uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?message=Wikipedia Example Address"));
|
|
|
|
|