rootzoll 6 years ago
parent
commit
c0082e1d2e
  1. 2
      home.admin/95switchMainTest.sh
  2. 2
      home.admin/BBcloseAllChannels.sh

2
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

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

Loading…
Cancel
Save