diff --git a/src/main/java/bisq/core/payment/ReceiptValidator.java b/src/main/java/bisq/core/payment/ReceiptValidator.java index 066c92f4..e4997c92 100644 --- a/src/main/java/bisq/core/payment/ReceiptValidator.java +++ b/src/main/java/bisq/core/payment/ReceiptValidator.java @@ -59,13 +59,17 @@ boolean isValid() { if (predicates.isMatchingSepaOffer(offer, account)) { // Sepa offer and taker account is Sepa or Sepa Instant return true; - } else if (predicates.isMatchingSepaInstant(offer, account)) { + } + + if (predicates.isMatchingSepaInstant(offer, account)) { // Sepa Instant offer and taker account return true; - } else if (predicates.isOfferRequireSameOrSpecificBank(offer, account)) { + } + + if (predicates.isOfferRequireSameOrSpecificBank(offer, account)) { return predicates.isMatchingBankId(offer, account); - } else { - return isEqualPaymentMethods; } + + return isEqualPaymentMethods; } }