aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-enter
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-enter')
-rwxr-xr-xbin/ak-enter4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-enter b/bin/ak-enter
index 45fcace..2918cc2 100755
--- a/bin/ak-enter
+++ b/bin/ak-enter
@@ -122,7 +122,7 @@ do
logit "[INFO]" "ZBLOCK $zblock is JSON"
# Then we pass it through the filter and save it
- ak-ipfs-cat $zblock | ak-json2bash > tmp-zblock
+ ak-ipfs-cat $zblock | jq -M | ak-json2bash > tmp-zblock
# Be sure that there are the expected values
# We need 'block' and 'block_signature' inside a 'zblock'
@@ -158,7 +158,7 @@ do
# Same as above applies to BLOCK and DATA subparts of each ZBLOCK
# BLOCKS
echo -n '"block":"'$block'",'
- ak-ipfs-cat $block | ak-json2bash > tmp-block
+ ak-ipfs-cat $block | jq -M | ak-json2bash > tmp-block
if [ "$?" -ne 0 ]
then
logit "[ERROR]" "BLOCK $block READ failed"