fix chain detection

This commit is contained in:
Christian Rotzoll 2019-04-25 14:30:39 +02:00
parent fb15fa804b
commit 41afa9bdf0

View File

@ -93,9 +93,9 @@ if [ "$1" == "basic-setup" ]; then
if [ "${mainnet}" == "1" ] && [ "${testnet}" == "1" ]; then
echo "err='lnd.conf: mainnet and testnet are set active at the same time'"
elif [ "${mainnet}" == "1" ]; then
lndChain="bitcoin"
lndChain="main"
elif [ "${testnet}" == "1" ]; then
lndChain="litecoin"
lndChain="test"
else
echo "err='lnd.conf: neither testnet or mainnet is set active (raspiblitz needs one of them active in lnd.conf)'"
fi