[cmd] further fix node.sh

pull/3278/head
Jacky Wang 4 years ago
parent d943f5b425
commit ed433c8a3a
No known key found for this signature in database
GPG Key ID: 1085CE5F4FF5842C
  1. 13
      scripts/node.sh

@ -789,15 +789,10 @@ do
fi
if [ ! -z "${pprof}" ]; then
args+=(
--pprof "${pprof}"
--pprof "${pprof}"
)
fi
if [ ! ${staking_mode} ]
then
args+=(--run.legacy)
fi
# backward compatible with older harmony node software
case "${node_type}" in
validator)
@ -806,6 +801,12 @@ do
args+=(
--shard_id="${shard_id}"
)
if [ ${staking_mode} == "false" ]; then
args+=(
--run.legacy
)
fi
;;
esac
;;

Loading…
Cancel
Save