diff --git a/core/src/main/java/bisq/core/offer/OfferRestrictions.java b/core/src/main/java/bisq/core/offer/OfferRestrictions.java index 53905478992..c3e7ad30af4 100644 --- a/core/src/main/java/bisq/core/offer/OfferRestrictions.java +++ b/core/src/main/java/bisq/core/offer/OfferRestrictions.java @@ -23,7 +23,7 @@ import org.bitcoinj.core.Coin; public class OfferRestrictions { - public static Coin TOLERATED_SMALL_TRADE_AMOUNT = Coin.parseCoin("0.01"); + public static Coin TOLERATED_SMALL_TRADE_AMOUNT = Coin.parseCoin("0.02"); public static boolean isOfferRisky(Offer offer) { return offer != null && diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties index e996fec422b..9d7a4aefe80 100644 --- a/core/src/main/resources/i18n/displayStrings.properties +++ b/core/src/main/resources/i18n/displayStrings.properties @@ -359,10 +359,10 @@ offerbook.warning.sellOfferAndAnyTakerPaymentAccountForOfferMature=This offer ca offerbook.warning.newVersionAnnouncement=We needed to deploy this restriction as a short-term measure for enhanced security.\n\n\ The next software release will provide more robust protection tools so that offers with this risk profile can be traded again. -popup.warning.tradeLimitDueAccountAgeRestriction.seller=The allowed trade amount is limited to 0.01 BTC because of security restrictions based on the following criteria:\n\ +popup.warning.tradeLimitDueAccountAgeRestriction.seller=The allowed trade amount is limited to {1} because of security restrictions based on the following criteria:\n\ - The buyers account was created after March 1st 2019\n\ - The payment method for this offer is considered risky for bank chargebacks\n\n{0} -popup.warning.tradeLimitDueAccountAgeRestriction.buyer=The allowed trade amount is limited to 0.01 BTC because of security restrictions based on the following criteria:\n\ +popup.warning.tradeLimitDueAccountAgeRestriction.buyer=The allowed trade amount is limited to {1} because of security restrictions based on the following criteria:\n\ - Your payment account was created after March 1st 2019\n\ - The payment method for this offer is considered risky for bank chargebacks\n\n{0} diff --git a/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferViewModel.java b/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferViewModel.java index 1763a9ef3a9..9c77be28a49 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferViewModel.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferViewModel.java @@ -731,7 +731,8 @@ void onFocusOutAmountTextField(boolean oldValue, boolean newValue) { minAmountValidationResult.set(isBtcInputValid(minAmount.get())); } else if (amount.get() != null && btcValidator.getMaxTradeLimit() != null && btcValidator.getMaxTradeLimit().value == OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT.value) { new Popup<>().information(Res.get("popup.warning.tradeLimitDueAccountAgeRestriction.buyer", - Res.get("offerbook.warning.newVersionAnnouncement"))) + Res.get("offerbook.warning.newVersionAnnouncement"), + btcFormatter.formatCoinWithCode(OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT))) .width(900) .show(); } diff --git a/desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferViewModel.java b/desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferViewModel.java index 55dcbe0b2e5..5942f3f1dfa 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferViewModel.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferViewModel.java @@ -375,7 +375,8 @@ void onFocusOutAmountTextField(boolean oldValue, boolean newValue, String userIn } else if (btcValidator.getMaxTradeLimit() != null && btcValidator.getMaxTradeLimit().value == OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT.value) { if (dataModel.getDirection() == OfferPayload.Direction.BUY) { new Popup<>().information(Res.get("popup.warning.tradeLimitDueAccountAgeRestriction.seller", - Res.get("offerbook.warning.newVersionAnnouncement"))) + Res.get("offerbook.warning.newVersionAnnouncement"), + btcFormatter.formatCoinWithCode(OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT))) .width(900) .show(); } else {