aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zchain-chk
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:56:26 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:56:26 +0300
commitd85efb21fa554877b21f08a3ffdd51ebb49c55ca (patch)
tree1480b679bc1c29ecb396eb9396979ce8fcee2880 /bin/ak-zchain-chk
parent1c25589a8aca3d6dbb84a37240efd4652fbfeab7 (diff)
downloadarching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.gz
arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.bz2
arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.zip
Fix json2bash to ak-json2bash
Diffstat (limited to 'bin/ak-zchain-chk')
-rwxr-xr-xbin/ak-zchain-chk6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ak-zchain-chk b/bin/ak-zchain-chk
index 963754c..3315415 100755
--- a/bin/ak-zchain-chk
+++ b/bin/ak-zchain-chk
@@ -75,8 +75,8 @@ do
ak-logthis "[INFO]" "Created reference"
# We concatenate the zblock's contents, pipe them through filter
- # json2bash and output them to tmp-file
- ipfs cat $zblock | json2bash > $TEMPASSIN/tmp-zblock
+ # ak-json2bash and output them to tmp-file
+ ipfs cat $zblock | ak-json2bash > $TEMPASSIN/tmp-zblock
ak-logthis "[INFO]" "ZBLOCK $zblock READ"
# Supposingly you are on a safe environment and you only have
@@ -88,7 +88,7 @@ do
# Same as above applies to BLOCK and DATA subparts of each ZBLOCK
# BLOCKS
- ipfs cat $block | json2bash > $TEMPASSIN/tmp-block
+ ipfs cat $block | ak-json2bash > $TEMPASSIN/tmp-block
source $TEMPASSIN/tmp-block
ak-logthis "[INFO]" "BLOCK $block SOURCED"
touch $BLOCKDIR/$block