| 768 | } |
| 769 | |
| 770 | bool PaymentServer::verifyNetwork(const payments::PaymentDetails& requestDetails) |
| 771 | { |
| 772 | bool fVerified = requestDetails.network() == Params().NetworkIDString(); |
| 773 | if (!fVerified) { |
| 774 | qWarning() << QString("PaymentServer::%1: Payment request network \"%2\" doesn't match client network \"%3\".") |
| 775 | .arg(__func__) |
| 776 | .arg(QString::fromStdString(requestDetails.network())) |
| 777 | .arg(QString::fromStdString(Params().NetworkIDString())); |
| 778 | } |
| 779 | return fVerified; |
| 780 | } |
| 781 | |
| 782 | bool PaymentServer::verifyExpired(const payments::PaymentDetails& requestDetails) |
| 783 | { |
nothing calls this directly
no test coverage detected