diff options
-rwxr-xr-x | bin/ak-sm-merkle-tree | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/ak-sm-merkle-tree b/bin/ak-sm-merkle-tree index 4a45c0e..33d3842 100755 --- a/bin/ak-sm-merkle-tree +++ b/bin/ak-sm-merkle-tree @@ -161,14 +161,12 @@ do while [[ "$a" -lt "$totalChunks" ]] do b=`expr "$a" + 1` - printf "Lines of map: %s and %s of %s\n" "$a" "$b" "$totalChunks" sed -n "$a"p "$workingIndex" | awk '{ print $1 }' >> level.$c.pair.$a-$b sed -n "$b"p "$workingIndex" | awk '{ print $1 }' >> level.$c.pair.$a-$b shaSum="$(sha512sum level.$c.pair.$a-$b | awk '{ print $1 }')" cp level.$c.pair.$a-$b $MERKLEDIR/$shaSum sha512sum level.$c.pair.$a-$b | awk '{ print $1 }' >> level.$c.map a=`expr "$a" + 2` - printf "Next thing: %s\n" "$a" done workingIndex="level.$c.map" shaSum=`sha512sum $workingIndex | awk '{ print $1 }'` |