aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-05 01:29:20 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-05 01:29:20 +0300
commitf9dc7b451097ad361ed0eaea2f5f156e28cb732b (patch)
treebddff63e110d4a0f2d3c19aab07bdc28719641fc
parentea2aca3ad219fd838575c7ca1763ccc0123b653a (diff)
downloadarching-kaos-tools-f9dc7b451097ad361ed0eaea2f5f156e28cb732b.tar.gz
arching-kaos-tools-f9dc7b451097ad361ed0eaea2f5f156e28cb732b.tar.bz2
arching-kaos-tools-f9dc7b451097ad361ed0eaea2f5f156e28cb732b.zip
bugfix
-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