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: consider nil error while commiting a transaction #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bharath-123
Copy link
Contributor

@bharath-123 bharath-123 commented Jan 21, 2025

After commiting a transaction during the block building process, we check if there was any error and log accordingly. We were not considering the case where error is nil due to which we end up hitting the default case in the switch stmt which leads to an incorrect log being logged.
This PR considers the nil error case where we just don't log anything

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