diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-01 23:40:19 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-02 10:51:43 +0200 |
commit | d3d946a294988ca3ab2b2c8848da5b393fbbcf42 (patch) | |
tree | 58dd368b777a60f08b1e6d11f79c5cf2ad19e600 /src/qt/paymentserver.cpp | |
parent | 659c096134080034b5a5cdce4bdd8cae91632f63 (diff) |
Pass SendCoinsRecipient (208 bytes) by const reference
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r-- | src/qt/paymentserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 132ee32748..705a6ae272 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -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()) |