Skip to content

Commit de6400d

Browse files
committed
Fix missing use of dustRelayFee
1 parent 5b15870 commit de6400d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2834,7 +2834,7 @@ UniValue bumpfee(const JSONRPCRequest& request)
28342834

28352835
// If the output would become dust, discard it (converting the dust to fee)
28362836
poutput->nValue -= nDelta;
2837-
if (poutput->nValue <= poutput->GetDustThreshold(::minRelayTxFee)) {
2837+
if (poutput->nValue <= poutput->GetDustThreshold(::dustRelayFee)) {
28382838
LogPrint("rpc", "Bumping fee and discarding dust output\n");
28392839
nNewFee += poutput->nValue;
28402840
tx.vout.erase(tx.vout.begin() + nOutput);

0 commit comments

Comments
 (0)