actually take kyc_off flag into consideration

This commit is contained in:
Christian Grothoff 2023-07-25 17:34:39 +02:00
parent 4c6ab83925
commit 153b685bac
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -499,6 +499,8 @@ kyc_satisfied (struct AggregationUnit *au_active)
char *requirement;
enum GNUNET_DB_QueryStatus qs;
if (kyc_off)
return true;
qs = TALER_KYCLOGIC_kyc_test_required (
TALER_KYCLOGIC_KYC_TRIGGER_DEPOSIT,
&au_active->h_payto,