CoinSelection: make fields final (minor breaking)

This commit is contained in:
Sean Gilligan 2022-04-16 11:36:55 -07:00 committed by Andreas Schildbach
parent 9423d02b4d
commit 2b82c27456

View file

@ -30,8 +30,8 @@ import java.util.List;
* to their varying policies.
*/
public class CoinSelection {
public Coin valueGathered;
public Collection<TransactionOutput> gathered;
public final Coin valueGathered;
public final Collection<TransactionOutput> gathered;
public CoinSelection(Coin valueGathered, Collection<TransactionOutput> gathered) {
this.valueGathered = valueGathered;