mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
cln: correct lightning name in FInalDialog + typo
This commit is contained in:
parent
402f1a8a17
commit
a5747ba796
2 changed files with 7 additions and 2 deletions
|
@ -386,7 +386,7 @@ if [ "${lightning}" == "cln" ]; then
|
|||
# NEW WALLET
|
||||
else
|
||||
|
||||
echo "Generare new CLN wallet ..." >> ${logFile}
|
||||
echo "Generate new CLN wallet ..." >> ${logFile}
|
||||
|
||||
# generate new wallet
|
||||
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh new-force mainnet)
|
||||
|
|
|
@ -11,11 +11,16 @@ source ${SETUPFILE}
|
|||
|
||||
############################################
|
||||
# SHOW SEED WORDS AFTER SETUP
|
||||
if [ "${lightning}" == "lnd" ]; then
|
||||
walletName="LND Wallet"
|
||||
elif [ "${lightning}" == "cln" ]; then
|
||||
walletName="C-lightning Wallet"
|
||||
fi
|
||||
if [ "${setupPhase}" == "setup" ] && [ "${seedwords6x4NEW}" != "" ]; then
|
||||
ack=0
|
||||
while [ ${ack} -eq 0 ]
|
||||
do
|
||||
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "LND Wallet got created. Store these numbered words in a safe location:\n\n${seedwords6x4NEW}" 12 76
|
||||
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "${walletName} got created. Store these numbered words in a safe location:\n\n${seedwords6x4NEW}" 12 76
|
||||
whiptail --title "Please Confirm" --yes-button "Show Again" --no-button "CONTINUE" --yesno " Are you sure that you wrote down the word list?" 8 55
|
||||
if [ $? -eq 1 ]; then
|
||||
ack=1
|
||||
|
|
Loading…
Add table
Reference in a new issue