From c22be70e96be5059318911aee9d32ae49db71d88 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 8 Aug 2018 17:45:13 +0200 Subject: [PATCH] closes issue #34 --- home.admin/00infoBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 20bafba..f7c9d6b 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -110,7 +110,7 @@ local_ip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 public_ip=$(curl -s http://v4.ipv6-test.com/api/myip.php) public_port=$(cat ${bitcoin_dir}/${network}.conf 2>/dev/null | grep port= | awk -F"=" '{print $2}') if [ "${public_port}" = "" ]; then - if [ $chain = "test" ]; then + if [ "${chain}" = "test" ]; then public_port=18333 else public_port=8333