aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-calculate-size
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-calculate-size')
-rwxr-xr-xbin/ak-calculate-size2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-calculate-size b/bin/ak-calculate-size
index 640d841..45fa5fa 100755
--- a/bin/ak-calculate-size
+++ b/bin/ak-calculate-size
@@ -2,7 +2,7 @@
extract-cids > to_stats
sum=0 ; while IFS="" read -r p || [ -n "$p" ]
do
- num=$(ipfs block stat $p | grep Size | sed -e 's/Size: //g')
+ num=$(ak-ipfs-block-stat $p | grep Size | sed -e 's/Size: //g')
sum=$(expr $sum + $num )
done < to_stats
echo "Chain is : $sum bytes"