aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_zchain
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-08-01 06:42:36 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-08-01 06:42:36 +0300
commita2de76cc5fb7b0783d442c6a2e53e1b072920a75 (patch)
tree0652dc964d239e0fc23702c0ec29384662139b3a /lib/_ak_zchain
parent1943f629a5e6cf087b153cd07dc3c5cff02f80fe (diff)
downloadarching-kaos-tools-a2de76cc5fb7b0783d442c6a2e53e1b072920a75.tar.gz
arching-kaos-tools-a2de76cc5fb7b0783d442c6a2e53e1b072920a75.tar.bz2
arching-kaos-tools-a2de76cc5fb7b0783d442c6a2e53e1b072920a75.zip
bugfix: Importing the library is important instead of running the handler script
Diffstat (limited to 'lib/_ak_zchain')
-rwxr-xr-xlib/_ak_zchain3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_zchain b/lib/_ak_zchain
index 4c11525..a5203a7 100755
--- a/lib/_ak_zchain
+++ b/lib/_ak_zchain
@@ -1,6 +1,7 @@
#!/bin/bash
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_ipfs
+source $AK_LIBDIR/_ak_zblock
_ak_zchain_reset(){
echo "Reseting ZLATEST to ZGENESIS"
@@ -215,7 +216,7 @@ variable
echo -n '['
fi
counter=$(($counter + 1))
- ak-zblock --show "$zblock"
+ _ak_zblock_show "$zblock"
if [ $limit -ne 0 ] && [ $limit -eq $counter ]
then
echo -n ']'