Browse Source

Fix Cashout Result

master
Christian Rotzoll 6 years ago
parent
commit
5d5159c75a
  1. 4
      home.admin/BBcashoutWallet.sh

4
home.admin/BBcashoutWallet.sh

@ -66,12 +66,12 @@ echo "Sweep all possible Funds"
echo "******************************"
# execute command
command="lncli --chain=${network} --network=${chain}net sendcoins --sweepall --addr=${address} --conf_target=3"
command="lncli --chain=${network} --network=${chain}net sendcoins --sweepall --addr=${address} --conf_target=6"
echo "$command"
result=$($command 2>$_error)
error=`cat ${_error}`
echo ""
if [ ${#error} -eq 0 ]; then
if [ ${#error} -gt 0 ]; then
echo "FAIL: $error"
echo ""
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

Loading…
Cancel
Save