bigchaindb / cryptoconditions

A Python implementation of the Crypto-Conditions spec
MIT License
72 stars 41 forks source link

KeyError on calculate_smallest_valid_fulfillment_set #6

Open diminator opened 8 years ago

diminator commented 8 years ago

ThresholdSha256Fulfillment.calculate_smallest_valid_fulfillment_set(self.threshold, subfulfillments)['set'] might not always include set in its keys

diminator commented 8 years ago

more info:

KeyError due to returned {'size': inf} when self.threshold > len(subfulfillments)

diminator commented 8 years ago

not an issue after https://github.com/interledger/rfcs/issues/87