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