aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zchain-chk
diff options
context:
space:
mode:
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