fix for generation of 'endowed_accounts'

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2024-10-13 17:46:38 +03:00
parent 88fb940bce
commit 96163ee4d9
Signed by: st1nky
GPG Key ID: 016064BD97603B40

View File

@ -12,7 +12,7 @@ for num in $(seq 2 $num_ghosties); do
account_id=$(grep -m $num "wallet" $project_folder/service/ghosties | tail -n 1 | awk '{ print $6 }') account_id=$(grep -m $num "wallet" $project_folder/service/ghosties | tail -n 1 | awk '{ print $6 }')
public_key=$(ghost key inspect $account_id --public | grep "SS58 Address" | awk '{ print $3 }') public_key=$(ghost key inspect $account_id --public | grep "SS58 Address" | awk '{ print $3 }')
echo -e "\t// $public_key" echo -e "\t// $public_key"
echo -e "\thex![\"${account_id:2}\"].into();" echo -e "\thex![\"${account_id:2}\"].into(),"
done done
echo "];" echo "];"
echo -e "\n" echo -e "\n"