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/guiutil.cpp | |
parent | 7b1add3c28aae8caf2e1517f15cd953eacbb4931 (diff) |
Introduce -dustrelayfee
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 4463cfdaef..de6e09b8b0 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -11,7 +11,7 @@ #include "primitives/transaction.h" #include "init.h" -#include "validation.h" // For minRelayTxFee +#include "policy/policy.h" #include "protocol.h" #include "script/script.h" #include "script/standard.h" @@ -257,7 +257,7 @@ bool isDust(const QString& address, const CAmount& amount) CTxDestination dest = CBitcoinAddress(address.toStdString()).Get(); CScript script = GetScriptForDestination(dest); CTxOut txOut(amount, script); - return txOut.IsDust(::minRelayTxFee); + return txOut.IsDust(dustRelayFee); } QString HtmlEscape(const QString& str, bool fMultiLine) |