This commit is contained in:
rootzoll 2018-09-21 10:58:09 +02:00
parent 601c13ca2b
commit c0082e1d2e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 "***********************************"