Skip to content

Commit

Permalink
ignore node version check if unable to fetch version from running node
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Jul 30, 2024
1 parent 82135ee commit 8bf9856
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/cnode-helper-scripts/gLiveView.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ setTheme() {
# Do NOT modify code below #
######################################

GLV_VERSION=v1.30.1
GLV_VERSION=v1.30.2

PARENT="$(dirname $0)"

Expand Down Expand Up @@ -717,6 +717,8 @@ checkPeers() {
}

checkNodeVersion() {
[[ ${running_node_version} = '?' ]] && return # ignore check if unable to fetch version from running node

version=$("${CNODEBIN}" version)
node_version=$(grep "cardano-node" <<< "${version}" | cut -d ' ' -f2)
node_rev=$(grep "git rev" <<< "${version}" | cut -d ' ' -f3 | cut -c1-8)
Expand Down

0 comments on commit 8bf9856

Please sign in to comment.