Skip to content

Commit

Permalink
fix(scripts): fix typos & comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Nov 3, 2023
1 parent bb658fb commit 0b758ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/node_setup/setup_run_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ else
echo "NOTE: This is done in the file backend..."
echo "We recommend storing this somewhere secure..."
output=$(create_or_import_key "$KEY_NAME" "" "")
# We greb the mnemonic from the output.
# We grab the mnemonic from the output.
mnemonic=$(echo "$output" | awk '/Important/,0' | tail -n 1)
# We check if the `env` file had a MNEMONIC variable in general...
awk -v mnemonic="$mnemonic" 'BEGIN{OFS=FS="="} $1=="MNEMONIC"{$2=mnemonic}1' .env > .env.tmp && cat .env.tmp > .env && rm .env.tmp
Expand Down Expand Up @@ -124,9 +124,8 @@ echo "Node Initialized !"


# It creates a Client to the seda-chain network
echo "Connecting to Network `$NETWORK`..."
echo "Setting client Network to `$NETWORK`..."
$BIN config node $NODE_ADDRESS
echo "Connected to network !"

# Run node
echo "Running Node ..."
Expand Down

0 comments on commit 0b758ca

Please sign in to comment.