From cd691c12a24783a2964fd350764763f56d632c28 Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 20 May 2021 15:25:39 +0200 Subject: [PATCH] avoid Qm nodes G1pub key convert --- zen/gchange_INIT.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zen/gchange_INIT.sh b/zen/gchange_INIT.sh index 658a943..c7d6116 100755 --- a/zen/gchange_INIT.sh +++ b/zen/gchange_INIT.sh @@ -102,7 +102,8 @@ fi # GET LIST of issuer(s) who likes me & A_boostrap_nodes.txt IamINBOOTSTRAP=$(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep "$IPFSNODEID") # AM I A BOOTSTRAP ? ipfsnodeid=${IamINBOOTSTRAP##*/} -IamBOOTSTRAP=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid) # Contains G1PUB +## FILTER Qm ! +[[ ! "${ipfsnodeid:0:2}" == "Qm" ]] && IamBOOTSTRAP=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid) || IamBOOTSTRAP="" # Contains G1PUB ################## AUTO PINNING for BOOTSTRAP [[ $IamBOOTSTRAP ]] && ~/.zen/astrXbian/zen/tools/autoPINfriends.sh