diff options
| author | Alex Morcos <[email protected]> | 2016-12-13 16:19:17 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-01-16 08:40:40 -0500 |
| commit | eb30d1a5b215c6dd3763d7f7948f2dd8cb61f6bf (patch) | |
| tree | 4145415de105b56023c630c9da4e421971793981 /src/qt/paymentserver.cpp | |
| parent | Introduce -incrementalrelayfee (diff) | |
| download | discoin-eb30d1a5b215c6dd3763d7f7948f2dd8cb61f6bf.tar.xz discoin-eb30d1a5b215c6dd3763d7f7948f2dd8cb61f6bf.zip | |
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 6b2871424..688e8123a 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); |