mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Apply code review suggestions.
This commit is contained in:
parent
7ec86c3dc3
commit
6f8bb00704
@ -48,7 +48,7 @@ public class OfferFilterService {
|
|||||||
private final FilterManager filterManager;
|
private final FilterManager filterManager;
|
||||||
private final AccountAgeWitnessService accountAgeWitnessService;
|
private final AccountAgeWitnessService accountAgeWitnessService;
|
||||||
private final Map<String, Boolean> insufficientCounterpartyTradeLimitCache = new HashMap<>();
|
private final Map<String, Boolean> insufficientCounterpartyTradeLimitCache = new HashMap<>();
|
||||||
private Map<String, Boolean> myInsufficientTradeLimitCache = new HashMap<>();
|
private final Map<String, Boolean> myInsufficientTradeLimitCache = new HashMap<>();
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public OfferFilterService(User user,
|
public OfferFilterService(User user,
|
||||||
@ -206,6 +206,6 @@ public class OfferFilterService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void resetTradeLimitCache() {
|
public void resetTradeLimitCache() {
|
||||||
myInsufficientTradeLimitCache = new HashMap<>();
|
myInsufficientTradeLimitCache.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -408,6 +408,7 @@ popup.warning.tradeLimitDueAccountAgeRestriction.seller=The allowed trade amount
|
|||||||
- The time since signing of the buyer''s account is not at least 30 days\n\
|
- The time since signing of the buyer''s account is not at least 30 days\n\
|
||||||
- The payment method for this offer is considered risky for bank chargebacks\n\n{1}
|
- The payment method for this offer is considered risky for bank chargebacks\n\n{1}
|
||||||
popup.warning.tradeLimitDueAccountAgeRestriction.buyer=The allowed trade amount is limited to {0} because of security restrictions based on the following criteria:\n\
|
popup.warning.tradeLimitDueAccountAgeRestriction.buyer=The allowed trade amount is limited to {0} because of security restrictions based on the following criteria:\n\
|
||||||
|
- User-defined trade limit\n\
|
||||||
- Your account has not been signed by an arbitrator or a peer\n\
|
- Your account has not been signed by an arbitrator or a peer\n\
|
||||||
- The time since signing of your account is not at least 30 days\n\
|
- The time since signing of your account is not at least 30 days\n\
|
||||||
- The payment method for this offer is considered risky for bank chargebacks\n\n{1}
|
- The payment method for this offer is considered risky for bank chargebacks\n\n{1}
|
||||||
|
Loading…
Reference in New Issue
Block a user