mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-02-20 04:08:47 +00:00
Disable payment protocol very large value test, as it's impossible to exceed maximum Dogecoin in a payment request.
This commit is contained in:
parent
106ecab0e0
commit
f94966f41a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user