aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorAlex Morcos <[email protected]>2017-01-19 16:18:24 -0500
committerAlex Morcos <[email protected]>2017-01-19 20:31:29 -0500
commitde6400de5d4b654007f21901d9555ddea0face82 (patch)
tree152210a039c84554b6a44df3e45e8fa8c242e100 /src/wallet/rpcwallet.cpp
parentUse incrementalRelayFee for BIP 125 replacement (diff)
downloaddiscoin-de6400de5d4b654007f21901d9555ddea0face82.tar.xz
discoin-de6400de5d4b654007f21901d9555ddea0face82.zip
Fix missing use of dustRelayFee
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 07c3688a4..c0f7bbcb4 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -2834,7 +2834,7 @@ UniValue bumpfee(const JSONRPCRequest& request)
// If the output would become dust, discard it (converting the dust to fee)
poutput->nValue -= nDelta;
- if (poutput->nValue <= poutput->GetDustThreshold(::minRelayTxFee)) {
+ if (poutput->nValue <= poutput->GetDustThreshold(::dustRelayFee)) {
LogPrint("rpc", "Bumping fee and discarding dust output\n");
nNewFee += poutput->nValue;
tx.vout.erase(tx.vout.begin() + nOutput);