mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
cln: add CASHOUT option
This commit is contained in:
parent
59895c673d
commit
8193bfb09b
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ if [ ${#LNdefault} -gt 0 ]&&[ $LNdefault = lnd ];then
|
|||
CHOICE_HEIGHT=$((CHOICE_HEIGHT+1))
|
||||
fi
|
||||
|
||||
#TODO OPTIONS+=(CASHOUT "Remove Funds from LND")
|
||||
OPTIONS+=(CASHOUT "Remove Funds from LND")
|
||||
|
||||
CHOICE=$(dialog --clear \
|
||||
--backtitle "$BACKTITLE" \
|
||||
|
|
|
@ -92,7 +92,7 @@ echo "******************************"
|
|||
if [ ${LNTYPE} = "cln" ];then
|
||||
# TODO no easy way to sweep funds
|
||||
# withdraw destination satoshi [feerate] [minconf] [utxos]
|
||||
command="NOT IMPLEMENTED YET"
|
||||
command="$lightningcli_alias withdraw ${address} all slow"
|
||||
elif [ ${LNTYPE} = "lnd" ];then
|
||||
command="$lncli_alias sendcoins --sweepall --addr=${address} --conf_target=36"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue