Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/paymentservertests.cpp
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | for (const std::pair<CScript, Amount> &sendingTo : sendingTos) { | ||||
CTxDestination dest; | CTxDestination dest; | ||||
if (ExtractDestination(sendingTo.first, dest)) | if (ExtractDestination(sendingTo.first, dest)) | ||||
QCOMPARE(PaymentServer::verifyAmount(sendingTo.second), false); | QCOMPARE(PaymentServer::verifyAmount(sendingTo.second), false); | ||||
} | } | ||||
delete server; | delete server; | ||||
} | } | ||||
void RecipientCatcher::getRecipient(SendCoinsRecipient r) { | void RecipientCatcher::getRecipient(const SendCoinsRecipient &r) { | ||||
recipient = r; | recipient = r; | ||||
} | } |