aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2015-07-11 18:31:19 +0000
committerRoss Nicoll <[email protected]>2015-07-19 16:42:23 +0000
commitf94966f41a48dd3a04f57b0a7f3991fd698bc590 (patch)
tree4f2f11ea9e5f9e4c94035bc0d1510c1f0b2faca7 /src
parentLitecoin: Fix zeitgeist2 attack thanks to Lolcust and ArtForz. This fixes an ... (diff)
downloaddiscoin-f94966f41a48dd3a04f57b0a7f3991fd698bc590.tar.xz
discoin-f94966f41a48dd3a04f57b0a7f3991fd698bc590.zip
Disable payment protocol very large value test, as it's impossible to exceed maximum Dogecoin in a payment request.
Diffstat (limited to 'src')
-rw-r--r--src/qt/test/paymentservertests.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp
index e2ec439b2..e0483e190 100644
--- a/src/qt/test/paymentservertests.cpp
+++ b/src/qt/test/paymentservertests.cpp
@@ -188,7 +188,8 @@ void PaymentServerTests::paymentServerTests()
QCOMPARE(PaymentServer::readPaymentRequestFromFile(tempFile.fileName(), r.paymentRequest), false);
// Payment request with amount overflow (amount is set to 21000001 BTC):
- data = DecodeBase64(paymentrequest5_cert2_BASE64);
+ // Dogecoin: Maximum Doge value exceeds the values I can get into the payment request, so can't test this
+ /* data = DecodeBase64(paymentrequest5_cert2_BASE64);
byteArray = QByteArray((const char*)&data[0], data.size());
r.paymentRequest.parse(byteArray);
// Ensure the request is initialized
@@ -199,7 +200,7 @@ void PaymentServerTests::paymentServerTests()
CTxDestination dest;
if (ExtractDestination(sendingTo.first, dest))
QCOMPARE(PaymentServer::verifyAmount(sendingTo.second), false);
- }
+ } */
delete server;
}