aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2016-10-14 17:49:05 +0200
committerJorge Timón <jtimon@jtimon.cc>2017-05-03 17:55:52 +0200
commit330bb5a456a5f9c26703fa742e4c80691e1455ab (patch)
tree2677b80c8f6b61eceb24a07fa40a644b469b95ec /src/qt/paymentserver.cpp
parent35da2aeed7d4000dde93957c3b6e048ab83c4f2b (diff)
Consensus: Minimal way to move dust out of consensus
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r--src/qt/paymentserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp
index dd75f12076..77fa6b2f3b 100644
--- a/src/qt/paymentserver.cpp
+++ b/src/qt/paymentserver.cpp
@@ -580,7 +580,7 @@ bool PaymentServer::processPaymentRequest(const PaymentRequestPlus& request, Sen
// Extract and check amounts
CTxOut txOut(sendingTo.second, sendingTo.first);
- if (txOut.IsDust(dustRelayFee)) {
+ if (IsDust(txOut, ::dustRelayFee)) {
Q_EMIT message(tr("Payment request error"), tr("Requested payment amount of %1 is too small (considered dust).")
.arg(BitcoinUnits::formatWithUnit(optionsModel->getDisplayUnit(), sendingTo.second)),
CClientUIInterface::MSG_ERROR);