From 41afa9bdf0f20eb7a6ff4edf74c8ef84dd2f7730 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 25 Apr 2019 14:30:39 +0200 Subject: [PATCH] fix chain detection --- home.admin/config.scripts/lnd.check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/lnd.check.sh b/home.admin/config.scripts/lnd.check.sh index 81c09b9..5592c7c 100644 --- a/home.admin/config.scripts/lnd.check.sh +++ b/home.admin/config.scripts/lnd.check.sh @@ -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