mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-18 03:27:41 +02:00
Consensus: Minimal way to move dust out of consensus
This commit is contained in:
@@ -251,7 +251,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(dustRelayFee);
|
||||
return IsDust(txOut, ::dustRelayFee);
|
||||
}
|
||||
|
||||
QString HtmlEscape(const QString& str, bool fMultiLine)
|
||||
|
||||
Reference in New Issue
Block a user