diff --git a/chia/seeder/dns_server.py b/chia/seeder/dns_server.py index 1a68a6edcdd4..a00af4172cd5 100644 --- a/chia/seeder/dns_server.py +++ b/chia/seeder/dns_server.py @@ -440,8 +440,9 @@ async def refresh_reliable_peers(self) -> None: result = await self.resolver.resolve(qname=static_peer, rdtype=rdtype, lifetime=30) for ip in result: try: - ip_address(ip) - new_reliable_peers.append(ip) + ip_as_string = ip.to_text() + ip_address(ip_as_string) + new_reliable_peers.append(ip_as_string) except ValueError: pass