Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Merkletree Trim fix + add tests #22

Merged
merged 2 commits into from
Jan 7, 2018
Merged

Merkletree Trim fix + add tests #22

merged 2 commits into from
Jan 7, 2018

Conversation

ixje
Copy link
Member

@ixje ixje commented Jan 7, 2018

What current issue(s) does this address?, or what feature is it adding?
Addressing #19

How did you solve this problem?
write tests

How did you make sure your solution works?
make lint
make test && make coverage

Did you add any tests?
yes

Are there any special changes in the code that we should be aware of?
changed the scope of __TrimNode to _TrimNode because otherwise it would not be testable.

@coveralls
Copy link

coveralls commented Jan 7, 2018

Coverage Status

Coverage increased (+4.7%) to 63.365% when pulling 59dba57 on ixje:merkletree_tests into 25851d3 on CityOfZion:feature-keypair.

Copy link
Collaborator

@localhuman localhuman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good! I don't believe Trim is used at the moment?

@ixje
Copy link
Member Author

ixje commented Jan 7, 2018

correct, trim is not (yet?) used.

@localhuman
Copy link
Collaborator

May be used in the future. Anyways, looks good!

@localhuman localhuman merged commit d7f706e into CityOfZion:feature-keypair Jan 7, 2018
@ixje ixje deleted the merkletree_tests branch January 7, 2018 16:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants