Merge pull request #5583

643415a [Qt] update a translation string and argument counts (Philip Kaufmann)
This commit is contained in:
Wladimir J. van der Laan 2015-01-02 11:17:21 +01:00
commit fe39ce6b23
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 1 additions and 2 deletions

View File

@ -667,8 +667,7 @@ void PaymentServer::netRequestFinished(QNetworkReply* reply)
// BIP70 DoS protection
if (reply->size() > BIP70_MAX_PAYMENTREQUEST_SIZE) {
QString msg = tr("Payment request %2 is too large (%3 bytes, allowed %4 bytes).")
.arg(__func__)
QString msg = tr("Payment request %1 is too large (%2 bytes, allowed %3 bytes).")
.arg(reply->request().url().toString())
.arg(reply->size())
.arg(BIP70_MAX_PAYMENTREQUEST_SIZE);