diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-12-13 16:19:17 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-01-16 08:40:40 -0500 |
commit | eb30d1a5b215c6dd3763d7f7948f2dd8cb61f6bf (patch) | |
tree | 4145415de105b56023c630c9da4e421971793981 /src/qt/paymentserver.cpp | |
parent | 7b1add3c28aae8caf2e1517f15cd953eacbb4931 (diff) |
Introduce -dustrelayfee
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r-- | src/qt/paymentserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 6b2871424d..688e8123af 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -10,7 +10,7 @@ #include "base58.h" #include "chainparams.h" -#include "validation.h" // For minRelayTxFee +#include "policy/policy.h" #include "ui_interface.h" #include "util.h" #include "wallet/wallet.h" @@ -582,7 +582,7 @@ bool PaymentServer::processPaymentRequest(const PaymentRequestPlus& request, Sen // Extract and check amounts CTxOut txOut(sendingTo.second, sendingTo.first); - if (txOut.IsDust(::minRelayTxFee)) { + if (txOut.IsDust(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); |