Skip to content

Commit

Permalink
Fix missing check for Lido CSM
Browse files Browse the repository at this point in the history
  • Loading branch information
coincashew committed Oct 29, 2024
1 parent f5f213f commit f823a90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manage_validator_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ function setConfig(){

function checkLido(){
[[ $# -eq 1 ]] && local ARGUMENT=$1 || ARGUMENT="default"
if [[ $(grep --ignore-case -oE "${CSM_FEE_RECIPIENT_ADDRESS_MAINNET}" /etc/systemd/system/validator.service &> /dev/null) ||
$(grep --ignore-case -oE "${CSM_FEE_RECIPIENT_ADDRESS_HOLESKY}" /etc/systemd/system/validator.service &> /dev/null) ||
if [[ $(grep --ignore-case -oE "${CSM_FEE_RECIPIENT_ADDRESS_MAINNET}" /etc/systemd/system/validator.service) ||
$(grep --ignore-case -oE "${CSM_FEE_RECIPIENT_ADDRESS_HOLESKY}" /etc/systemd/system/validator.service) ||
"$ARGUMENT" == "plugin_csm_validator" ]]; then
isLido="1"
fi
Expand Down Expand Up @@ -494,5 +494,6 @@ done
setWhiptailColors
setMessage
downloadEthstakerDepositCli
checkLido
# Only run if no args
[[ -z $skip ]] && menuMain

0 comments on commit f823a90

Please sign in to comment.