aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/_ak_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_network b/lib/_ak_network
index 25fa68a..b002296 100755
--- a/lib/_ak_network
+++ b/lib/_ak_network
@@ -214,10 +214,11 @@ _ak_network_show_peers_stellar(){
printf ','
fi
counter=$(( $counter + 1 ))
+ akConfigHash="$(_ak_ipfs_name_resolve /ipns/$akConfig|cut -d '/' -f 3)"
printf '{"stellar":{"address":"%s","config":"%s"},"node_info":%s}' \
"$stellarAddress" \
"$akConfig" \
- "$(_ak_ipfs_cat /ipns/$akConfig)"
+ "$(_ak_ipfs_cat $akConfigHash)"
done
printf ']'
) #| jq