DefaultRiskAnalysis.MIN_ANALYSIS_NONDUST_OUTPUT: Re-use existing constant and update comment.

This commit is contained in:
Andreas Schildbach 2015-11-28 10:51:20 +01:00
parent 79d6716120
commit 7fce16b3c1

View file

@ -47,10 +47,10 @@ public class DefaultRiskAnalysis implements RiskAnalysis {
/**
* Any standard output smaller than this value (in satoshis) will be considered risky, as it's most likely be
* rejected by the network. Currently it's 546 satoshis. This is different from {@link Transaction#MIN_NONDUST_OUTPUT}
* because of an upcoming fee change in Bitcoin Core 0.9.
* rejected by the network. This is usually the same as {@link Transaction#MIN_NONDUST_OUTPUT} but can be
* different when the fee is about to change in Bitcoin Core.
*/
public static final Coin MIN_ANALYSIS_NONDUST_OUTPUT = Coin.valueOf(546);
public static final Coin MIN_ANALYSIS_NONDUST_OUTPUT = Transaction.MIN_NONDUST_OUTPUT;
protected final Transaction tx;
protected final List<Transaction> dependencies;