diff options
| author | Patrick Lodder <[email protected]> | 2020-07-20 19:27:27 +0200 |
|---|---|---|
| committer | Patrick Lodder <[email protected]> | 2020-07-22 13:45:05 +0200 |
| commit | 7f5d1446d5caf341ac56cfdf40199eeaa852e3f0 (patch) | |
| tree | 9bf535147be52f57bebd0def7b466d7b675829ed /src | |
| parent | tests: fix non-qt tests that spend dust (diff) | |
| download | discoin-7f5d1446d5caf341ac56cfdf40199eeaa852e3f0.tar.xz discoin-7f5d1446d5caf341ac56cfdf40199eeaa852e3f0.zip | |
qt-tests: Disable payment server test that moves 21M+1 coins.
This is not a testcase for Dogecoin. Like the other payment
server tests, this could be amended, or it can be depreciated,
depending on where we take payment protocol.
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/test/paymentservertests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index 7aeafce79..5a397f199 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -191,6 +191,8 @@ void PaymentServerTests::paymentServerTests() QCOMPARE(PaymentServer::verifySize(tempFile.size()), false); // Payment request with amount overflow (amount is set to 21000001 BTC): + /* PL: This doesn't work for Dogecoin (as there is no actual maximum coins) + * I'm disabling this test for now. data = DecodeBase64(paymentrequest5_cert2_BASE64); byteArray = QByteArray((const char*)&data[0], data.size()); r.paymentRequest.parse(byteArray); @@ -203,6 +205,7 @@ void PaymentServerTests::paymentServerTests() if (ExtractDestination(sendingTo.first, dest)) QCOMPARE(PaymentServer::verifyAmount(sendingTo.second), false); } + */ delete server; } |