PEERING: no error if only pubkey is given for cln

This commit is contained in:
openoms
2021-06-13 22:41:48 +01:00
parent c89dea4892
commit 05e56608d7

View File

@@ -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