Skip to content

Commit

Permalink
Update lib.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rykcod authored Jan 15, 2024
1 parent 964b994 commit 3a413bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WaitBootstrap() {
}

#############################################################
# FUNCTION = GetWalletAddress
# FUNCTION = GetWalletAddresses
# DESCRIPTION = Get wallets public addresses
# RETURN = Wallets addresses
#############################################################
Expand Down Expand Up @@ -59,7 +59,7 @@ CheckOrCreateWalletAndNodeKey() {
if ([ $(ls $PATH_NODE_CONF/staking_wallets/wallet_* 2> /dev/null | wc -l) -eq 0 ] || [ $checkStackingKey -lt 1 ])
then
# Get first wallet Address
walletAddress=$(GetWalletAddress)
walletAddress=$(GetWalletAddresses)
# Stacke wallet
$PATH_TARGET/massa-client -p $WALLET_PWD node_start_staking $walletAddress > /dev/null
echo "[$(date +%Y%m%d-%HH%M)][INFO][INIT]Stake privKey" |& tee -a $PATH_LOGS_MASSAGUARD/$(date +%Y%m%d)-massa_guard.txt
Expand Down

0 comments on commit 3a413bb

Please sign in to comment.