Skip to content

Commit

Permalink
Fix persistent peers on docker
Browse files Browse the repository at this point in the history
  • Loading branch information
starsquidnodes committed Oct 20, 2023
1 parent c0ba1af commit 556e806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def prepare_config(self):
if v["node_id"] == node_id:
continue
port = f"{self.port_prefix}{i+1:02}{56}"
host = info["moniker"].lower()
host = v["moniker"].lower()
if self.podman:
host = "127.0.0.1"
persistent_peers.append(f"{v['node_id']}@{host}:{port}")
Expand Down

0 comments on commit 556e806

Please sign in to comment.