From 63cc8e11dca7484335d3818c5bc4a6455df6c064 Mon Sep 17 00:00:00 2001 From: Stephan Oeste Date: Thu, 22 Jun 2023 18:42:13 +0200 Subject: [PATCH] Remove one seednode from Wiz. --- core/src/main/resources/btc_mainnet.seednodes | 1 - core/src/test/java/bisq/core/util/RegexValidatorTest.java | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/src/main/resources/btc_mainnet.seednodes b/core/src/main/resources/btc_mainnet.seednodes index 8fa70fdbebd..1a21d7eda7f 100644 --- a/core/src/main/resources/btc_mainnet.seednodes +++ b/core/src/main/resources/btc_mainnet.seednodes @@ -1,5 +1,4 @@ # nodeaddress.onion:port [(@owner,@backup)] -wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000 (@wiz) wizseed3d376esppbmbjxk2fhk2jg5fpucddrzj2kxtbxbx4vrnwclad.onion:8000 (@wiz) wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000 (@wiz) devinv3rhon24gqf5v6ondoqgyrbzyqihzyouzv7ptltsewhfmox2zqd.onion:8000 (@devinbileck) diff --git a/core/src/test/java/bisq/core/util/RegexValidatorTest.java b/core/src/test/java/bisq/core/util/RegexValidatorTest.java index c708e80d7f1..3eb9f6c2273 100644 --- a/core/src/test/java/bisq/core/util/RegexValidatorTest.java +++ b/core/src/test/java/bisq/core/util/RegexValidatorTest.java @@ -64,7 +64,7 @@ public void testAddressRegexValidator() { // onion v3 addresses assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char - assertTrue(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid); + assertTrue(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid); // ipv4 addresses assertTrue(regexValidator.validate("12.34.56.78").isValid); @@ -120,7 +120,7 @@ public void testOnionAddressRegexValidator() { // onion v3 addresses assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char - assertTrue(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid); + assertTrue(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid); } @@ -147,7 +147,7 @@ public void testLocalnetAddressRegexValidator() { // onion v3 addresses assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char - assertFalse(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid); + assertFalse(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid); // ipv4 addresses assertFalse(regexValidator.validate("12.34.56.78").isValid); @@ -236,7 +236,7 @@ public void testLocalhostAddressRegexValidator() { // onion v3 addresses assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char - assertFalse(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid); + assertFalse(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid); // ipv4 addresses assertFalse(regexValidator.validate("12.34.56.78").isValid);