mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Cleanup unused argument
This commit is contained in:
parent
7f734292f3
commit
02e53304ed
@ -379,7 +379,7 @@ public class AccountAgeWitnessService {
|
||||
|
||||
long limit = OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT.value;
|
||||
var factor = PaymentMethod.hasChargebackRisk(paymentMethod, currencyCode) ?
|
||||
signedTypeFactor(accountAgeCategory, direction) : normalFactor(accountAgeCategory);
|
||||
signedTypeFactor(accountAgeCategory, direction) : normalFactor();
|
||||
if (factor > 0) {
|
||||
limit = MathUtils.roundDoubleToLong((double) maxTradeLimit.value * factor);
|
||||
}
|
||||
@ -394,7 +394,7 @@ public class AccountAgeWitnessService {
|
||||
private double signedTypeFactor(AccountAge accountAgeCategory,
|
||||
OfferPayload.Direction direction) {
|
||||
return direction == OfferPayload.Direction.BUY ? signedBuyFactor(accountAgeCategory) :
|
||||
normalFactor(accountAgeCategory);
|
||||
normalFactor();
|
||||
}
|
||||
|
||||
private double signedBuyFactor(AccountAge accountAgeCategory) {
|
||||
@ -410,7 +410,7 @@ public class AccountAgeWitnessService {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private double normalFactor(AccountAge accountAgeCategory) {
|
||||
private double normalFactor() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user