From f8c9d552b0dbb4ab66696517856b0fd25f1083fb Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:47:10 -0400 Subject: [PATCH] Update vc-utils/keymanager.sh --- vc-utils/keymanager.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vc-utils/keymanager.sh b/vc-utils/keymanager.sh index 3dc4574b..0588b5e5 100755 --- a/vc-utils/keymanager.sh +++ b/vc-utils/keymanager.sh @@ -512,7 +512,9 @@ validator-count() { __validator-list-call remote_key_count=$(echo "$__result" | jq -r '.data | length') echo "Remote Validator keys registered with ${__service}: $remote_key_count" - key_count=(key_count + remote_key_count) + if [ "${key_count}" -ne "${remote_key_count)" ]; then + echo "WARNING: The number of keys loaded into Web3signer and registered with the validator client differ." + echo "Please run \"./ethd keys register\"" fi echo "Total keys: $key_count"