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

fix: Fix panic when resyncing after consensus database is deleted #205

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

n8maninger
Copy link
Member

@n8maninger n8maninger commented Dec 13, 2024

Fixes a panic that occurs when the consensus database is deleted and the node is attempting to sync. This will remove all existing consensus state from the database and rescan from genesis without affecting the wallet data.

Fixes #204

@n8maninger n8maninger self-assigned this Dec 13, 2024
@n8maninger n8maninger added this to the v1.0.0 milestone Dec 13, 2024
wallet/manager.go Outdated Show resolved Hide resolved
wallet/wallet_test.go Outdated Show resolved Hide resolved
peterjan
peterjan previously approved these changes Dec 16, 2024
Copy link
Member

@peterjan peterjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing to add to Chris's remarks 👍 LGTM

Copy link
Member

@ChrisSchinnerl ChrisSchinnerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. Successfully verified on Zen.

@n8maninger n8maninger merged commit de61683 into master Dec 19, 2024
9 checks passed
@n8maninger n8maninger deleted the nate/support-resync branch December 19, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Chain sync crash
3 participants