From 50891ad080f34e3c3b053c2440332e1a1fd35082 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 31 Dec 2014 12:03:00 +0100 Subject: [PATCH] [Qt] update a translation string and argument counts Rebased-From: 643415aade0dae528098df2d822288ba0c5f6ce2 Github-Pull: #5583 --- src/qt/paymentserver.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index bd3dab41a..0f8f6f0ce 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -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);