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.
cred1: have attribute value=ANYTHING_BUT_NOT_A_NUMBER
cred2: have attribute value=3
and proof request with predicate
value < 5
Ideally, _get_requested_credentials should return [cred2] in this case, but the function will throw an error.
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.value=ANYTHING_BUT_NOT_A_NUMBER
value=3
and proof request with predicate
Ideally,
_get_requested_credentials
should return[cred2]
in this case, but the function will throw an error.