mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
Optional LND Options in Connect Menu
This commit is contained in:
@@ -24,9 +24,11 @@ if [ "${BTCPayServer}" == "on" ]; then
|
|||||||
fi
|
fi
|
||||||
OPTIONS+=(${network}RPC "Connect Specter Desktop or JoinMarket")
|
OPTIONS+=(${network}RPC "Connect Specter Desktop or JoinMarket")
|
||||||
OPTIONS+=(BISQ "Connect Bisq to this node")
|
OPTIONS+=(BISQ "Connect Bisq to this node")
|
||||||
|
if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
|
||||||
OPTIONS+=(EXPORT "Get Macaroons and TLS.cert")
|
OPTIONS+=(EXPORT "Get Macaroons and TLS.cert")
|
||||||
OPTIONS+=(RESET "Recreate LND Macaroons & tls.cert")
|
OPTIONS+=(RESET "Recreate LND Macaroons & tls.cert")
|
||||||
OPTIONS+=(SYNC "Sync Macaroons & tls.cert with Apps/Users")
|
OPTIONS+=(SYNC "Sync Macaroons & tls.cert with Apps/Users")
|
||||||
|
fi
|
||||||
|
|
||||||
CHOICE_HEIGHT=$(("${#OPTIONS[@]}/2+1"))
|
CHOICE_HEIGHT=$(("${#OPTIONS[@]}/2+1"))
|
||||||
HEIGHT=$((CHOICE_HEIGHT+6))
|
HEIGHT=$((CHOICE_HEIGHT+6))
|
||||||
|
Reference in New Issue
Block a user