Merge pull request #6669
6342a48Init: Use DEFAULT_TRANSACTION_MINFEE in help message (MarcoFalke)a9c73a1[wallet] Add comments for doxygen (MarcoFalke)6b0e622[wallet] Refactor to use new MIN_CHANGE (MarcoFalke)
This commit is contained in:
@@ -567,7 +567,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
|
||||
nChange -= nPayFee;
|
||||
|
||||
// Never create dust outputs; if we would, just add the dust to the fee.
|
||||
if (nChange > 0 && nChange < CENT)
|
||||
if (nChange > 0 && nChange < MIN_CHANGE)
|
||||
{
|
||||
CTxOut txout(nChange, (CScript)std::vector<unsigned char>(24, 0));
|
||||
if (txout.IsDust(::minRelayTxFee))
|
||||
|
||||
Reference in New Issue
Block a user