Skip to content

Commit 5508567

Browse files
authored
Merge pull request #275 from Chia-Network/multiple-bootstrap-peers
Add ability to specify comma separated list of bootstrap peers
2 parents 8b786dc + 3e4b9a6 commit 5508567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ fi
128128
if [[ -n ${seeder_bootstrap_peers} ]]; then
129129
echo "Setting seeder.bootstrap_peers to ${seeder_bootstrap_peers}"
130130
yq -i '
131-
.seeder.bootstrap_peers = [env(seeder_bootstrap_peers)]
131+
.seeder.bootstrap_peers = (env(seeder_bootstrap_peers) | split(","))
132132
' "$CHIA_ROOT/config/config.yaml"
133133
fi
134134

0 commit comments

Comments
 (0)