hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
668 stars 735 forks source link

fix: ignore credential not satisfying predicate #2594

Closed Zzocker closed 9 months ago

Zzocker commented 1 year ago

fn _get_requested_credentials throws an error even though the prover has a valid credential satisfying predicate. Let's say the prover has the following credential.

and proof request with predicate

Ideally, _get_requested_credentials should return [cred2] in this case, but the function will throw an error.