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 nil receipts when no transactions #215

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Fix nil receipts when no transactions #215

merged 1 commit into from
Feb 26, 2024

Conversation

alrevuelta
Copy link
Collaborator

When a block contained no transactions, the node was panicking since a variable was uninitialized. This PR fixes it by initializing it, so that even if no transactions are present, its not nil but an empty slice.

@alrevuelta alrevuelta merged commit 4447bf0 into main Feb 26, 2024
4 checks passed
@alrevuelta alrevuelta deleted the fix-nil-txs branch February 26, 2024 16:21
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.

1 participant