From eef854aec6d3b4175f0a572df6b9aeff1e1c44fb Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Sun, 2 Jun 2024 04:30:32 +0300 Subject: [PATCH] fix --- visibility_check.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/visibility_check.sh b/visibility_check.sh index 682cf7a..7d3eb7b 100644 --- a/visibility_check.sh +++ b/visibility_check.sh @@ -15,12 +15,11 @@ bootstrap_peers=( # Run the grpcurl command and capture its output output=$(grpcurl -plaintext localhost:8337 quilibrium.node.node.pb.NodeService.GetNetworkInfo) -# Check if any of the bootstrap peers are in the output +# Check if any of the specific peers are in the output for peer in "${bootstrap_peers[@]}"; do - decoded_peer=$(echo "$peer" | base64 --decode) - if [[ $output == *"$decoded_peer"* ]]; then - echo "You see $decoded_peer as a bootstrap peer" + if [[ $output == *"$peer"* ]]; then + echo "You see $peer as a bootstrap peer" else - echo "Peer $decoded_peer not found" + echo "Peer $peer not found" fi done \ No newline at end of file