mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
Offers from a banned node should not be displayed.
This commit is contained in:
parent
75e030f541
commit
b67b2eb11d
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ public class OfferBook {
|
|||
}
|
||||
|
||||
private boolean isOfferAllowed(Offer offer) {
|
||||
boolean isBanned = filterManager.isOfferIdBanned(offer.getId());
|
||||
boolean isBanned = filterManager.isOfferIdBanned(offer.getId())
|
||||
|| filterManager.isNodeAddressBanned(offer.getMakerNodeAddress());
|
||||
boolean isV3NodeAddressCompliant = !OfferRestrictions.requiresNodeAddressUpdate()
|
||||
|| Utils.isV3Address(offer.getMakerNodeAddress().getHostName());
|
||||
return !isBanned && isV3NodeAddressCompliant;
|
||||
|
|
Loading…
Add table
Reference in a new issue