From ca12adced4ab5a54d7ee25b40b49cd034b920cc8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Oct 2021 21:06:47 +0200 Subject: -basic logic for withdraw KYC checks --- src/auditor/taler-helper-auditor-reserves.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/auditor') 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 -- cgit v1.2.3