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 getcustomtx crash on mempool transaction #1742

Merged
merged 3 commits into from
Feb 8, 2023
Merged

Conversation

Bushstar
Copy link
Member

@Bushstar Bushstar commented Feb 8, 2023

When create voc transaction is in the mempool a call to getcustomtx on that transaction can result in a crash of the client. This PR fixes that issue by checking the votingPeriod is set to a non-zero number in the serialised transaction.

Fixes: #1739

@prasannavl prasannavl mentioned this pull request Feb 9, 2023
19 tasks
@Bushstar Bushstar merged commit 85d014d into master Feb 8, 2023
@Bushstar Bushstar deleted the fix-customtx-mempool branch February 8, 2023 10:35
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.

node crash on getcustomtx of mempool tx, likely createVoc
2 participants