diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-19 10:21:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-19 10:21:29 +0100 |
commit | 06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2 (patch) | |
tree | bec032926469f5506d9051a9b1efa10066921ab7 /src/exchange/taler-exchange-aggregator.c | |
parent | aa5e7d2ad5e712434f32ab41b63d53bb897c6105 (diff) |
return KYC requirement row when AML imposed KYC requirements on withdraw; return KYC choices in new /config endpoint
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r-- | src/exchange/taler-exchange-aggregator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index 7244c5ec..38110a5e 100644 --- a/src/exchange/taler-exchange-aggregator.c +++ b/src/exchange/taler-exchange-aggregator.c @@ -585,6 +585,7 @@ aml_satisfied (struct AggregationUnit *au_active) struct TALER_Amount total; struct TALER_Amount threshold; enum TALER_AmlDecisionState decision; + struct TALER_EXCHANGEDB_KycStatus kyc; total = au_active->final_amount; qs = db_plugin->select_aggregation_amounts_for_kyc_check ( @@ -602,6 +603,7 @@ aml_satisfied (struct AggregationUnit *au_active) qs = db_plugin->select_aml_threshold (db_plugin->cls, &au_active->h_payto, &decision, + &kyc, &threshold); if (qs < 0) { |