CL: show port on infoscreen

fixing #2635
This commit is contained in:
openoms 2021-10-17 10:34:46 +01:00
parent 4c0e0d1b2d
commit 4f1da190bf
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -258,7 +258,7 @@ if [ "${lightning}" == "cl" ]; then
if [ ${#address} -eq 0 ];then
address=$(echo "${ln_getInfo}" | grep '"ipv4"' -A 1 | tail -1 | cut -d '"' -f4)
fi
ln_external="${pubkey}@${address}"
ln_external="${pubkey}@${address}:${ln_port}"
ln_tor=$(echo "${ln_external}" | grep -c ".onion")
if [ ${ln_tor} -eq 1 ]; then
ln_publicColor="${color_green}"