mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
Merge #17042: contrib: fix minor typos in makeseeds.py
0b1dcd32bf
contrib: fix minor typos in makeseeds.py (Brian Solon) Pull request description: Fixes minor typos referenced in #17020 ACKs for top commit: laanwj: Thanks. ACK0b1dcd32bf
practicalswift: ACK0b1dcd32bf
Tree-SHA512: 1b67358790b3e80e9229d42e399d9ddb21e9f9a0989e05fa6851925ef76289d123cbf648944ff2b60e1513c755023ddec3a0dd3b9ad26d3e105d1d88c937f968
This commit is contained in:
commit
f1f284aa75
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ def filtermultiport(ips):
|
|||
|
||||
def lookup_asn(net, ip):
|
||||
'''
|
||||
Look up the asn for an IP (4 or 6) address by querying cymry.com, or None
|
||||
Look up the asn for an IP (4 or 6) address by querying cymru.com, or None
|
||||
if it could not be found.
|
||||
'''
|
||||
try:
|
||||
|
@ -187,7 +187,7 @@ def main():
|
|||
# Skip entries with invalid address.
|
||||
ips = [ip for ip in ips if ip is not None]
|
||||
print('%s Skip entries with invalid address' % (ip_stats(ips)), file=sys.stderr)
|
||||
# Skip duplicattes (in case multiple seeds files were concatenated)
|
||||
# Skip duplicates (in case multiple seeds files were concatenated)
|
||||
ips = dedup(ips)
|
||||
print('%s After removing duplicates' % (ip_stats(ips)), file=sys.stderr)
|
||||
# Skip entries from suspicious hosts.
|
||||
|
|
Loading…
Reference in a new issue