Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate genesis file before generating #4851

Merged
merged 1 commit into from
Nov 16, 2020
Merged

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Nov 13, 2020

When running the daemon for a devnet it generates a genesis file.
But if there is already a genesis file from a previous run the new genesis file is corrupted, preventing restarts.
This PR truncates the genesis file before generation.

@magik6k magik6k merged commit 49d3bb9 into master Nov 16, 2020
@magik6k magik6k deleted the fix/daemon-test-mode-restart branch November 16, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants