Skip to content

merkledb -- remove unneeded return values #1959

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

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

danlaine
Copy link

@danlaine danlaine commented Sep 5, 2023

Why this should be merged

node.calculateID always returns nil so we can remove its error return value and that of calculateNodeIDsHelper

How this works

Self-explanatory

How this was tested

Existing UT

@danlaine danlaine added cleanup Code quality improvement merkledb labels Sep 5, 2023
@danlaine danlaine self-assigned this Sep 5, 2023
@danlaine danlaine changed the title merledb -- remove unneeded return values merkledb -- remove unneeded return values Sep 5, 2023
@danlaine danlaine merged commit 68245d1 into dev Sep 5, 2023
@danlaine danlaine deleted the merkledb-remove-unneeded-errors branch September 5, 2023 17:21
@danlaine danlaine added this to the v1.10.10 milestone Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement merkledb
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants