Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Rubino committed Nov 7, 2024
1 parent 0ffbaef commit 8590e9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ restore_snapshot() {
echo "Restoring snapshot from ${snapshot_link}"
# https://github.com/zeta-chain/dl-pipe
decompress_args=""
if [[ "$snapshot_link" == *"lz4"* ]]; then
decompress_args="-I lz4"
fi
dl-pipe -hash "md5:${snapshot_md5}" "$snapshot_link" | tar $decompress_args -x -C $HOME/.zetacored
if [[ "$snapshot_link" == *"lz4"* ]]; then
decompress_args="-I lz4"
fi
dl-pipe -hash "md5:${snapshot_md5}" "$snapshot_link" | tar $decompress_args -x -C $HOME/.zetacored
}

cd $HOME
Expand Down

0 comments on commit 8590e9d

Please sign in to comment.