Skip to content

Commit

Permalink
chore: fix script that does not work in a clean work dir
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Jan 3, 2024
1 parent 853afdb commit 897c733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/init-dev-chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
set -u
[ -n "${DEBUG:-}" ] && set -x || true

ckb reset-data --all --force
ckb reset-data --all --force || true
ckb init -c dev --force --ba-arg 0xc8328aabcd9b9e8e64fbc566c4385c3bdeb219d7
sed -i.bak \
-e 's/^modules = .*/modules = ["Net", "Pool", "Miner", "Chain", "Stats", "Subscription", "Experiment", "Debug", "Indexer", "IntegrationTest"]/' \
Expand Down

0 comments on commit 897c733

Please sign in to comment.