Skip to content

Commit 90d4e2e

Browse files
committed
fix cli mode
1 parent 8c39ac0 commit 90d4e2e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/install.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,13 @@ def parse_args(answers: dict):
6767
if archive_ttl:
6868
os.putenv('ARCHIVE_TTL', archive_ttl) # set env variable
6969

70-
if validator_mode:
70+
if validator_mode and validator_mode not in ('Skip', 'Validator wallet'):
71+
if validator_mode == 'Nominator pool':
72+
validator_mode = 'nominator-pool'
73+
elif validator_mode == 'Single pool':
74+
validator_mode = 'single-pool'
75+
elif validator_mode == 'Liquid Staking':
76+
validator_mode = 'liquid-staking'
7177
res += f' -m {validator_mode}'
7278
else:
7379
res += f'-m {mode}'

0 commit comments

Comments
 (0)