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

_sign_threshold now signs all subconditions for a public key #1294

Merged
merged 2 commits into from Mar 17, 2017

Conversation

r-marques
Copy link
Contributor

resolves #1291

This pr makes sure that all subconditions for a given public key are fulfilled.

@r-marques r-marques self-assigned this Mar 16, 2017
@r-marques r-marques requested a review from ssadler March 16, 2017 13:12
@codecov-io
Copy link

codecov-io commented Mar 16, 2017

Codecov Report

Merging #1294 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1294   +/-   ##
=======================================
  Coverage   98.08%   98.08%           
=======================================
  Files          51       51           
  Lines        2294     2294           
=======================================
  Hits         2250     2250           
  Misses         44       44

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea6ce5c...4aa6ed1. Read the comment docs.

# expect to get a list back.
ccffill = input_.fulfillment
subffills = ccffill.get_subcondition_from_vk(owner_before)
if not subffills:
Copy link
Contributor

Choose a reason for hiding this comment

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

This might be worth creating a ticket on Cryptoconditions that get_subcondition_from_vk should throw 🤔
Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. All 3 todos in this method should be cc issues

@r-marques r-marques merged commit e97cee8 into master Mar 17, 2017
@vrde vrde deleted the bug/1291/threshold-conditions-duplicated-pks branch March 21, 2018 15:01
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.

Threshold conditions with duplicated public keys not signed correctly
4 participants