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

Add unit tests and small code enhancements #324

Merged
merged 2 commits into from Aug 2, 2022
Merged

Conversation

azarovh
Copy link
Member

@azarovh azarovh commented Aug 1, 2022

Collected the changes I made while reading the code.

Nothing special, the only interesting change is I swapped the order of processing DuplicateInputInTransaction and DuplicateInputInBlock because previously one was shadowed by another and was effectively unreachable. Noticed that while writing a test.

chainstate/src/detail/chainstateref.rs Outdated Show resolved Hide resolved
@azarovh azarovh merged commit 306af8e into master Aug 2, 2022
@azarovh azarovh deleted the fix/small-enhancements branch August 2, 2022 11:06
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.

None yet

4 participants