fix spark choice in settings

This commit is contained in:
openoms 2021-10-02 14:14:04 +01:00
parent 5632ff668f
commit 4c594ac9fa
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -59,7 +59,7 @@ fi
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then
OPTIONS+=(c 'C-Lightning RTL Webinterface' ${crtlWebinterface})
OPTIONS+=(k 'C-Lightning Sparko WebWallet' ${sparko})
OPTIONS+=(m 'C-Lightning Spark Wallet' ${spark})
OPTIONS+=(n 'C-Lightning Spark Wallet' ${spark})
fi
CHOICES=$(dialog --title ' Additional Mainnet Services ' \
@ -499,7 +499,7 @@ else
fi
# spark wallet process choice
choice="off"; check=$(echo "${CHOICES}" | grep -c "m")
choice="off"; check=$(echo "${CHOICES}" | grep -c "n")
if [ ${check} -eq 1 ]; then choice="on"; fi
if [ "${spark}" != "${choice}" ]; then
echo "# Spark Wallet on mainnet Setting changed .."