Skip to content

Commit

Permalink
(localnet.sh): add --overwrite flag to the nibid init call
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Aug 3, 2022
1 parent c7ab246 commit 7898fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/localnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fi

# Initialize nibid with "localnet" chain id
echo_info "Initializing $CHAIN_ID..."
if $BINARY init nibiru-localnet-0 --home $CHAIN_HOME_DIR --chain-id $CHAIN_ID; then
if $BINARY init nibiru-localnet-0 --home $CHAIN_HOME_DIR --chain-id $CHAIN_ID --overwrite; then
echo_success "Successfully initialized $CHAIN_ID"
else
echo_error "Failed to initialize $CHAIN_ID"
Expand Down

0 comments on commit 7898fdc

Please sign in to comment.