From 05e56608d73aa759564149f7b91ebdb155842431 Mon Sep 17 00:00:00 2001 From: openoms Date: Sun, 13 Jun 2021 22:41:48 +0100 Subject: [PATCH] PEERING: no error if only pubkey is given for cln --- home.admin/BBconnectPeer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/BBconnectPeer.sh b/home.admin/BBconnectPeer.sh index 890ec4310..5a3530dcf 100755 --- a/home.admin/BBconnectPeer.sh +++ b/home.admin/BBconnectPeer.sh @@ -68,7 +68,7 @@ info="" if [ ${#_input} -lt 10 ]; then win=0 info="node pubkey@host info is too short" -else +elif [ $LNTYPE = lnd ];then gotAt=$(echo $_input | grep '@' -c) if [ ${gotAt} -eq 0 ]; then win=0