Fix flag to disable leader-rotation (#3243)

This commit is contained in:
Sagar Dhawan
2019-03-12 16:35:13 -07:00
committed by GitHub
parent c1e726da87
commit 866d3f467f
7 changed files with 80 additions and 53 deletions

View File

@ -76,7 +76,7 @@ local|tar)
maybeNoLeaderRotation=
if ! $leaderRotation; then
maybeNoLeaderRotation="--no-leader-rotation"
maybeNoLeaderRotation="--only-bootstrap-stake"
fi
maybePublicAddress=
if $publicNetwork; then
@ -96,7 +96,7 @@ local|tar)
args=()
if ! $leaderRotation; then
args+=("--no-leader-rotation")
args+=("--only-bootstrap-stake")
fi
if $publicNetwork; then
args+=("--public-address")