Skip to content

Commit

Permalink
Update rotate_keys.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kessler <[email protected]>
  • Loading branch information
psyfercom committed Aug 15, 2024
1 parent 21e90a1 commit cd05f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rotate_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generate_and_insert_key() {
public_key=$(echo "$key_output" | jq -r '.publicKey')

echo "Inserting $key_type key..."
./target/release/argochain key insert --base-path "$base_path" --chain "$chain_spec" --scheme "$scheme" --suri "$secret_phrase" --key-type "$key_type"
sudo ./target/release/argochain key insert --base-path "$base_path" --chain "$chain_spec" --scheme "$scheme" --suri "$secret_phrase" --key-type "$key_type"

if [ $? -eq 0 ]; then
echo "$key_type key inserted. Public key: $public_key"
Expand Down

0 comments on commit cd05f97

Please sign in to comment.