Skip to content

Commit

Permalink
update seeder for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Dec 16, 2024
1 parent 79f410e commit 0b7f1f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chia/seeder/dns_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0b7f1f9

Please sign in to comment.