summaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-14 21:06:47 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-14 21:06:47 +0200
commitca12adced4ab5a54d7ee25b40b49cd034b920cc8 (patch)
treec181ebd5850cd907ca73a078c2050859c113454c /src/auditor
parent7d62fa065bba408860a79fe121a62ef8f515159c (diff)
downloadexchange-ca12adced4ab5a54d7ee25b40b49cd034b920cc8.tar.gz
exchange-ca12adced4ab5a54d7ee25b40b49cd034b920cc8.tar.bz2
exchange-ca12adced4ab5a54d7ee25b40b49cd034b920cc8.zip
-basic logic for withdraw KYC checks
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-helper-auditor-reserves.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c
index aa9c241bb..c27574d12 100644
--- a/src/auditor/taler-helper-auditor-reserves.c
+++ b/src/auditor/taler-helper-auditor-reserves.c
@@ -1083,10 +1083,13 @@ verify_reserve_balance (void *cls,
internal audit, as otherwise the balance of the 'reserves' table
is not replicated at the auditor. */
struct TALER_EXCHANGEDB_Reserve reserve;
+ struct TALER_EXCHANGEDB_KycStatus kyc;
reserve.pub = rs->reserve_pub;
qs = TALER_ARL_edb->reserves_get (TALER_ARL_edb->cls,
- &reserve);
+ &reserve,
+ &kyc);
+ // FIXME: figure out what to do with KYC status!
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != qs)
{
/* If the exchange doesn't have this reserve in the summary, it