Merge pull request #6917 from alvasw/support_dockerized_regtest_seednodes

Support dockerized regtest seednodes
This commit is contained in:
Alejandro García 2023-10-15 20:36:39 +00:00 committed by GitHub
commit 7430fdf788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ public class DefaultSeedNodeRepository implements SeedNodeRepository {
list.add(new NodeAddress(matcher.group(1)));
// Maybe better include in regex...
if (line.startsWith("localhost")) {
if (line.startsWith("localhost") || line.startsWith("bisq-seednode-")) {
String[] strings = line.split(" \\(@");
String node = strings[0];
list.add(new NodeAddress(node));