diff --git a/home.admin/95switchMainTest.sh b/home.admin/95switchMainTest.sh index 0548be0..37d3d30 100755 --- a/home.admin/95switchMainTest.sh +++ b/home.admin/95switchMainTest.sh @@ -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 diff --git a/home.admin/BBcloseAllChannels.sh b/home.admin/BBcloseAllChannels.sh index 6312ae9..6510783 100755 --- a/home.admin/BBcloseAllChannels.sh +++ b/home.admin/BBcloseAllChannels.sh @@ -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 "***********************************"