moved node address to infoscreen

This commit is contained in:
rootzoll
2018-08-22 12:06:30 +02:00
parent d85e63c5c5
commit 84e47fc43b
2 changed files with 1 additions and 10 deletions

View File

@@ -150,13 +150,7 @@ else
fi
# LIGHTNING NETWORK
ln_external=$(sudo cat /mnt/hdd/tor/lnd9735/hostname 2>/dev/null)
if [ ${#ln_external} -eq 0 ]; then
ln_external=" ${public_ip}:9735"
else
torInfo="+ TOR"
fi
ln_external="${ln_external}:9735"
ln_external=$(lncli getinfo | grep "uris" -A 2 | tr -d '\n' | cut -d '"' -f4)
# get LND info
/usr/local/bin/lncli --macaroonpath=${lnd_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert getinfo 2>&1 | grep "Please unlock" >/dev/null

View File

@@ -60,9 +60,6 @@ else
else
# set node address as backtitle
BACKTITLE=$(lncli getinfo | grep "uris" -A 2 | tr -d '\n' | cut -d '"' -f4)
chain=$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')
switchOption="to MAINNET"
if [ "${chain}" = "main" ]; then