diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-14 21:06:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-14 21:06:47 +0200 |
commit | ca12adced4ab5a54d7ee25b40b49cd034b920cc8 (patch) | |
tree | c181ebd5850cd907ca73a078c2050859c113454c /src/auditor/taler-helper-auditor-reserves.c | |
parent | 7d62fa065bba408860a79fe121a62ef8f515159c (diff) | |
download | exchange-ca12adced4ab5a54d7ee25b40b49cd034b920cc8.tar.xz |
-basic logic for withdraw KYC checks
Diffstat (limited to 'src/auditor/taler-helper-auditor-reserves.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-reserves.c | 5 |
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 |