mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
Pass SendCoinsRecipient (208 bytes) by const reference
This commit is contained in:
@@ -620,7 +620,7 @@ void PaymentServer::fetchRequest(const QUrl& url)
|
||||
netManager->get(netRequest);
|
||||
}
|
||||
|
||||
void PaymentServer::fetchPaymentACK(CWallet* wallet, SendCoinsRecipient recipient, QByteArray transaction)
|
||||
void PaymentServer::fetchPaymentACK(CWallet* wallet, const SendCoinsRecipient& recipient, QByteArray transaction)
|
||||
{
|
||||
const payments::PaymentDetails& details = recipient.paymentRequest.getDetails();
|
||||
if (!details.has_payment_url())
|
||||
|
||||
Reference in New Issue
Block a user