Disable payment protocol very large value test, as it's impossible to exceed maximum Dogecoin in a payment request.

This commit is contained in:
Ross Nicoll 2015-07-11 18:31:19 +00:00
parent 106ecab0e0
commit f94966f41a

View File

@ -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;
}