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

Making the keypair hashable, and moving setters out of property functions #158

Merged
merged 3 commits into from
Dec 24, 2021

Conversation

ulmentflam
Copy link
Contributor

This pull requests makes keypairs hashable, that way the keypair objects can be used in set operations. It also fixes an issue related to keypairs and properties, where the public_key is not generated when the property is accessed. It is far and away better to use a setter, and set properties during class initialization.

@codecov
Copy link

codecov bot commented Dec 24, 2021

Codecov Report

Merging #158 (1bc6b58) into master (b507d4d) will increase coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   90.62%   90.78%   +0.15%     
==========================================
  Files          37       37              
  Lines        2689     2692       +3     
==========================================
+ Hits         2437     2444       +7     
+ Misses        252      248       -4     

Copy link
Owner

@michaelhly michaelhly left a comment

Choose a reason for hiding this comment

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

Thank you!

@michaelhly michaelhly merged commit e9678f9 into michaelhly:master Dec 24, 2021
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.

3 participants