diff --git a/core/src/main/java/bisq/core/account/witness/AccountAgeWitnessService.java b/core/src/main/java/bisq/core/account/witness/AccountAgeWitnessService.java index 659cd0d0f02..7d655115bc6 100644 --- a/core/src/main/java/bisq/core/account/witness/AccountAgeWitnessService.java +++ b/core/src/main/java/bisq/core/account/witness/AccountAgeWitnessService.java @@ -533,11 +533,19 @@ public boolean verifyPeersTradeAmount(Offer offer, Coin tradeAmount, ErrorMessageHandler errorMessageHandler) { checkNotNull(offer); + + // In case we don't find the witness we check if the trade amount is above the + // TOLERATED_SMALL_TRADE_AMOUNT (0.01 BTC) and only in that case return false. return findWitness(offer) .map(witness -> verifyPeersTradeLimit(offer, tradeAmount, witness, new Date(), errorMessageHandler)) - .orElse(false); + .orElse(isToleratedSmalleAmount(tradeAmount)); } + private boolean isToleratedSmalleAmount(Coin tradeAmount) { + return tradeAmount.value <= OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT.value; + } + + /////////////////////////////////////////////////////////////////////////////////////////// // Package scope verification subroutines ///////////////////////////////////////////////////////////////////////////////////////////