diff --git a/ethpillar.sh b/ethpillar.sh index 06952a8..2f7c65f 100755 --- a/ethpillar.sh +++ b/ethpillar.sh @@ -12,7 +12,7 @@ # 🙌 Ask questions on Discord: # * https://discord.gg/dEpAVWgFNB -VERSION="1.7.6" +VERSION="1.7.7" BASE_DIR=$HOME/git/ethpillar # Load functions diff --git a/functions.sh b/functions.sh index 3abc994..3360576 100755 --- a/functions.sh +++ b/functions.sh @@ -854,7 +854,9 @@ ethdoYield(){ # Returns expectation between block proposals, sync committee duties ethdoExpectation(){ - ethdo validator --connection ${API_BN_ENDPOINT} expectation + read -r -p "${tty_blue}How many validators do you have? (Press enter for example of 1)${tty_reset} " _NUM + _NUM=${_NUM:-1} + ethdo validator --connection ${API_BN_ENDPOINT} expectation --validators=${_NUM} ohai "Expectation is based on current # of active validators on the Ethereum network. Press ENTER to continue" read }