|
@ -65,7 +65,7 @@ btc_path=$(command -v ${network}-cli) |
|
|
if [ -n ${btc_path} ]; then |
|
|
if [ -n ${btc_path} ]; then |
|
|
btc_title=$network |
|
|
btc_title=$network |
|
|
blockchaininfo="$(${network}-cli -datadir=${bitcoin_dir} getblockchaininfo)" |
|
|
blockchaininfo="$(${network}-cli -datadir=${bitcoin_dir} getblockchaininfo)" |
|
|
if [ -n $blockchaininfo ]; then |
|
|
if [ -n ${blockchaininfo} ]; then |
|
|
btc_title="${btc_title} (${chain}net)" |
|
|
btc_title="${btc_title} (${chain}net)" |
|
|
|
|
|
|
|
|
# get sync status |
|
|
# get sync status |
|
@ -221,4 +221,4 @@ ${color_yellow}${ln_external} |
|
|
if [ ${#onionAddress} -eq 0 ]; then |
|
|
if [ ${#onionAddress} -eq 0 ]; then |
|
|
# one extra space line at the end if nodeaddress is not TOR |
|
|
# one extra space line at the end if nodeaddress is not TOR |
|
|
echo "" |
|
|
echo "" |
|
|
fi |
|
|
fi |