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

[Bug] Exit early for budget submission when the wallet is locked #2932

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

Fuzzbawls
Copy link
Collaborator

When the wallet is configured for budget submission, an issue arises where the keypool gets exhausted when the wallet is locked, causing a crash. This prevents such behavior.

When the wallet is configured for budget submission, an issue arises
where the keypool gets exhausted when the wallet is locked, causing a
crash. This prevents such behavior.
@Fuzzbawls Fuzzbawls added the Bug label Jul 28, 2024
@Fuzzbawls Fuzzbawls added this to the 6.0.0 milestone Jul 28, 2024
@Fuzzbawls Fuzzbawls self-assigned this Jul 28, 2024
Copy link

@panleone panleone left a comment

Choose a reason for hiding this comment

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

utACK 67e632b for making sure the wallet is unlocked before making a transaction.

(for another PR) we should check why the wallet crashes otherwise

Copy link
Member

@Duddino Duddino left a comment

Choose a reason for hiding this comment

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

ACK 67e632b

Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

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

ACK 67e632b

For the wallet, the key pool is still used as a 'look ahead' in the HD wallet, when the wallet is locked no more keys can be generated, so if pool is exhausted, I guess we have somewhere that it tries to generate and crashes in the wallet class

@Fuzzbawls Fuzzbawls merged commit a254b29 into PIVX-Project:master Aug 3, 2024
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants