mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
fix #106
This commit is contained in:
parent
601c13ca2b
commit
c0082e1d2e
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue