mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
add debug echos
This commit is contained in:
@@ -371,6 +371,7 @@ if [ "${lightning}" == "cln" ]; then
|
|||||||
# OLD WALLET FROM SEEDWORDS
|
# OLD WALLET FROM SEEDWORDS
|
||||||
elif [ "${seedWords}" != "" ]; then
|
elif [ "${seedWords}" != "" ]; then
|
||||||
|
|
||||||
|
echo "Restore CLN wallet from seedWords ..." >> ${logFile}
|
||||||
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh seed-force mainnet "${seedWords}" "${seedPassword}")
|
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh seed-force mainnet "${seedWords}" "${seedPassword}")
|
||||||
|
|
||||||
# check if wallet really got created
|
# check if wallet really got created
|
||||||
@@ -385,6 +386,8 @@ if [ "${lightning}" == "cln" ]; then
|
|||||||
# NEW WALLET
|
# NEW WALLET
|
||||||
else
|
else
|
||||||
|
|
||||||
|
echo "Generare new CLN wallet ..." >> ${logFile}
|
||||||
|
|
||||||
# generate new wallet
|
# generate new wallet
|
||||||
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh new-force mainnet)
|
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh new-force mainnet)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user