fix pullblocks.sh for macOS
This commit is contained in:
parent
1712bde1bc
commit
05c51935ad
|
@ -2,6 +2,9 @@
|
||||||
# Usage: ./pullblocks.sh 500000 500100 > blocks.txt
|
# Usage: ./pullblocks.sh 500000 500100 > blocks.txt
|
||||||
test $# -ne 2 && { echo usage: $0 start end;exit 1;}
|
test $# -ne 2 && { echo usage: $0 start end;exit 1;}
|
||||||
|
|
||||||
for i in $(seq $1 $2); do
|
let i=$1
|
||||||
zcash-cli getblock $i 0
|
while test $i -le $2
|
||||||
|
do
|
||||||
|
zcash-cli getblock $i 0
|
||||||
|
let i++
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue