Skip to content

Commit

Permalink
fix: keys check
Browse files Browse the repository at this point in the history
  • Loading branch information
deepan95dev committed Feb 21, 2024
1 parent 44874df commit 059471f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/localnet/import-keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function import_key() {
MNEMONIC=${2}

echo "Importing key: ${ALIAS}"

cheqd-noded keys list --keyring-backend ${KEYRING_BACKEND}
if cheqd-noded keys show "${ALIAS}" --keyring-backend ${KEYRING_BACKEND}
then
echo "Key ${ALIAS} already exists"
Expand Down

0 comments on commit 059471f

Please sign in to comment.