mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
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:
@@ -4842,7 +4842,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//region Fee calculation code
|
//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 {
|
boolean needAtLeastReferenceFee, List<TransactionOutput> candidates) throws InsufficientMoneyException {
|
||||||
checkState(lock.isHeldByCurrentThread());
|
checkState(lock.isHeldByCurrentThread());
|
||||||
FeeCalculation result;
|
FeeCalculation result;
|
||||||
|
Reference in New Issue
Block a user