Fix Cashout Result

This commit is contained in:
Christian Rotzoll 2019-04-15 22:46:04 +01:00
parent 042e26bd36
commit 5d5159c75a

View File

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