lighthouse/scripts/local_testnet/clean.sh

14 lines
165 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
# Deletes all files associated with the local testnet.
#
set -Eeuo pipefail
source ./vars.env
if [ -d $DATADIR ]; then
rm -r $DATADIR
fi