mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-29 11:11:47 +01:00
fix #106
This commit is contained in:
parent
601c13ca2b
commit
c0082e1d2e
@ -65,7 +65,7 @@ if [ ${lndInstalled} -gt 0 ]; then
|
||||
if [ ${openChannels} -gt 0 ]; then
|
||||
echo ""
|
||||
echo "!!!!!!!!!!!!!!!!!!!"
|
||||
echo "FAIL - You have still open channels and could loose funds !! - close those first with 'lncli --chain=${network} closeallchannels' or main menu option."
|
||||
echo "FAIL - You have still open channels and could loose funds !! - close those first with 'lncli closeallchannels' or main menu option."
|
||||
echo "!!!!!!!!!!!!!!!!!!!"
|
||||
exit 1
|
||||
else
|
||||
|
@ -4,7 +4,7 @@
|
||||
network=`cat .network`
|
||||
chain=$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')
|
||||
|
||||
command="lncli --chain=${network} closeallchannels --force"
|
||||
command="lncli closeallchannels --force"
|
||||
|
||||
clear
|
||||
echo "***********************************"
|
||||
|
Loading…
x
Reference in New Issue
Block a user