net: just patch any external_addr which is set to [::], rather than looping over inbounds

This commit is contained in:
darkfi
2025-02-08 11:19:48 +01:00
parent bbaa871971
commit 0bf59aad78
3 changed files with 9 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ verbose = 2
hostlist = "example/node1.tsv"
inbound = ["tcp://[::]:10202"]
allowed_transports = ["tcp"]
external_addrs = ["tcp://[::1]:10202"]
external_addrs = ["tcp://[::]:10202"]
seeds = ["tcp://[::1]:10200"]
outbound_connections = 5
magic_bytes = [127, 64, 12, 201]