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

ProofHandle Improvements #27

Merged

Conversation

jaredmoody
Copy link
Contributor

No description provided.

@jaredmoody
Copy link
Contributor Author

@KenjiOhtsuka Can you review this soon? I'd like to use the updated ProofHandle interface in my project. Thanks!

let(:node_hash_id) { 'fa07e250-535f-11e9-833f-01d2112f8dc2' }

describe '#initialize' do
subject(:initialize!) { Chainpoint::ProofHandle.new(uri, node_hash_id) }
Copy link
Owner

Choose a reason for hiding this comment

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

@jaredmoody

I have a question.
At the sixth line in spec/hash_spec.rb, described_class is used, but here, you use Chainpoint::ProofHandle.
Which do you think is better?

Also allow setting of proof handles directly, not just in initializer
@jaredmoody
Copy link
Contributor Author

Hmm I would have thought rubocop should have caught that. Anyway the second initialization was redundant, so I removed it.

@KenjiOhtsuka KenjiOhtsuka merged commit 074462c into KenjiOhtsuka:develop Apr 11, 2019
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.

2 participants