From 481db3209af5b00e48dd1c7014d31af4da20f99f Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 25 Jul 2021 01:09:25 +0200 Subject: [PATCH] fix spaces --- home.admin/00infoBlitz.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 3ab04f9b0..e6fdf4421 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -330,7 +330,7 @@ if [ "${lightning}" == "cln" ]; then cln_num_pending_channels="$(echo "${ln_getInfo}" | jq -r '.num_pending_channels')" 2>/dev/null cln_num_inactive_channels="$(echo "${ln_getInfo}" | jq -r '.num_inactive_channels')" 2>/dev/null ln_channels_total=$((ln_channels_online+cln_num_pending_channels+cln_num_inactive_channels)) - ln_baseInfo="${color_gray}wallet ${ln_walletbalance} ${netprefix}sat ${ln_pendingonchain}" + ln_baseInfo="${color_gray}Wallet ${ln_walletbalance} ${netprefix}sat ${ln_pendingonchain}" ln_peers="$(echo "${ln_getInfo}" | jq -r '.num_peers')" 2>/dev/null ln_channelInfo="${ln_channels_online}/${ln_channels_total} Channels ${ln_channelbalance} ${netprefix}sat${ln_channelbalance_pending}" ln_peersInfo="${color_green}${ln_peers} ${color_gray}peers" @@ -395,7 +395,7 @@ elif [ "${lightning}" == "lnd" ];then if [ ${#ln_channelbalance_pending} -gt 0 ]; then ln_channelbalance_pending=" (+${ln_channelbalance_pending})"; fi ln_channels_online="$(echo "${ln_getInfo}" | jq -r '.num_active_channels')" 2>/dev/null ln_channels_total="$($lncli_alias --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert listchannels | jq '.[] | length')" 2>/dev/null - ln_baseInfo="${color_gray}Wallet ${ln_walletbalance} ${netprefix}sat ${ln_walletbalance_wait}" + ln_baseInfo="${color_gray}wallet ${ln_walletbalance} ${netprefix}sat ${ln_walletbalance_wait}" ln_peers="$(echo "${ln_getInfo}" | jq -r '.num_peers')" 2>/dev/null ln_channelInfo="${ln_channels_online}/${ln_channels_total} Channels ${ln_channelbalance} ${netprefix}sat${ln_channelbalance_pending}" ln_peersInfo="${color_green}${ln_peers} ${color_gray}peers" @@ -430,7 +430,7 @@ ${color_yellow}${ln_publicColor}${ln_external}${color_gray}" fi if [ "${lightning}" == "cln" ];then - LNline="C-LIGHTNING ${color_green}${ln_version}\n ${ln_baseInfo}" + LNline="C-LIGHTNING ${color_green}${ln_version}\n ${ln_baseInfo}" elif [ "${lightning}" == "lnd" ];then LNline="LND ${color_green}${ln_version} ${ln_baseInfo}" fi