mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Show filtered node in red
This commit is contained in:
parent
3d24a204e4
commit
ae365e2dcd
1 changed files with 8 additions and 1 deletions
|
@ -154,7 +154,14 @@ public class InventoryWebServer {
|
|||
sb.append("Operator: ").append(operator).append("<br/>");
|
||||
|
||||
String address = nodeAddress.getFullAddress();
|
||||
|
||||
String filteredSeeds = requestInfo != null ? requestInfo.getValue(InventoryItem.filteredSeeds) : null;
|
||||
if (filteredSeeds != null && filteredSeeds.contains(address)) {
|
||||
sb.append(getColorTagByDeviationSeverity(DeviationSeverity.ALERT)).append("Node address: ")
|
||||
.append(address).append(" (is filtered!)").append(CLOSE_TAG);
|
||||
} else {
|
||||
sb.append("Node address: ").append(address).append("<br/>");
|
||||
}
|
||||
|
||||
if (requestInfo != null) {
|
||||
sb.append("Version: ").append(requestInfo.getDisplayValue(InventoryItem.version)).append("<br/>");
|
||||
|
|
Loading…
Add table
Reference in a new issue