From ed5615712cc0ed6f381d4804b53aeb63847e4c40 Mon Sep 17 00:00:00 2001 From: openoms Date: Tue, 8 Mar 2022 18:22:40 +0000 Subject: [PATCH] lnbits: cl fix for testnets #3007 --- home.admin/config.scripts/cl.check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/cl.check.sh b/home.admin/config.scripts/cl.check.sh index 9ea85e5dc..9462ee68e 100644 --- a/home.admin/config.scripts/cl.check.sh +++ b/home.admin/config.scripts/cl.check.sh @@ -61,7 +61,7 @@ if [ $(grep -c "^feeadjuster" < ${CLCONF}) -gt 0 ];then fi fi -if [ "${LNBitsFunding}" = "cl" ]; then +if [ "${LNBitsFunding}" = "${netprefix}cl" ]; then # https://github.com/rootzoll/raspiblitz/issues/3007 if [ $(grep -c "^rpc-file-mode=0660" < ${CLCONF}) -eq 0 ]; then echo "rpc-file-mode=0660" | tee -a ${CLCONF}