Wallet: Make calculateFee() private.

It was likely never meant for public consumption, because it's return type has always been private.
This commit is contained in:
Andreas Schildbach 2017-06-25 20:02:22 +02:00
parent 1692cd973e
commit e3ca8f2d50

View File

@ -4842,7 +4842,7 @@ public class Wallet extends BaseTaggableObject
//region Fee calculation code
public FeeCalculation calculateFee(SendRequest req, Coin value, List<TransactionInput> originalInputs,
private FeeCalculation calculateFee(SendRequest req, Coin value, List<TransactionInput> originalInputs,
boolean needAtLeastReferenceFee, List<TransactionOutput> candidates) throws InsufficientMoneyException {
checkState(lock.isHeldByCurrentThread());
FeeCalculation result;