SERVICES menu: fix chantools/CLN switch

This commit is contained in:
openoms 2021-07-20 09:33:56 +01:00
parent 588e394b46
commit 626b07400e
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -43,7 +43,7 @@ OPTIONS+=(j 'JoinMarket' ${joinmarket})
OPTIONS+=(o 'Balance of Satoshis' ${bos})
OPTIONS+=(x 'Sphinx-Relay' ${sphinxrelay})
OPTIONS+=(y 'PyBLOCK' ${pyblock})
OPTIONS+=(c 'ChannelTools (Fund Rescue)' ${chantools})
OPTIONS+=(h 'ChannelTools (Fund Rescue)' ${chantools})
OPTIONS+=(w 'Download Bitcoin Whitepaper' ${whitepaper})
OPTIONS+=(n 'Parallel Testnet services' ${testnet})
OPTIONS+=(c 'C-lightning' ${cln})
@ -247,7 +247,7 @@ else
fi
# CHANTOOLS process choice
choice="off"; check=$(echo "${CHOICES}" | grep -c "c")
choice="off"; check=$(echo "${CHOICES}" | grep -c "h")
if [ ${check} -eq 1 ]; then choice="on"; fi
if [ "${chantools}" != "${choice}" ]; then
echo "chantools Setting changed .."