From ade193459bc0cbc42bc76274e829c13a6a1858eb Mon Sep 17 00:00:00 2001 From: qo-op Date: Wed, 23 Dec 2020 13:27:34 +0100 Subject: [PATCH] ipfsnodeid BUG --- zen/cesium_IPFS_swarm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/cesium_IPFS_swarm.sh b/zen/cesium_IPFS_swarm.sh index a6fe64a..5c8dfd4 100755 --- a/zen/cesium_IPFS_swarm.sh +++ b/zen/cesium_IPFS_swarm.sh @@ -56,7 +56,7 @@ do # Fill a file with friend of mine ip echo $ip >> ~/.zen/A_allow_ip.txt # Get its ipfsnodeid - ipfsnodeid=$(echo "$peer" | awk -F '/' '{print $7}') + ipfsnodeid=$(echo "$peer" | awk -F '/' '{print $8}') echo $ipfsnodeid >> ~/.zen/A_allow_ipfsid.txt g1id=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py "$ipfsnodeid")