gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: add code to call insert_pending_


From: gnunet
Subject: [taler-exchange] branch master updated: add code to call insert_pending_deposit
Date: Mon, 19 Aug 2024 18:43:27 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 78d8f5f33 add code to call insert_pending_deposit
78d8f5f33 is described below

commit 78d8f5f338c22e11c1d94b484657c86adbed879b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Aug 19 18:43:17 2024 +0200

    add code to call insert_pending_deposit
---
 contrib/wallet-core                           |  2 +-
 doc/prebuilt                                  |  2 +-
 src/auditor/taler-helper-auditor-wire-debit.c | 19 +++++++++++--------
 3 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/contrib/wallet-core b/contrib/wallet-core
index 8b667974a..5934e007f 160000
--- a/contrib/wallet-core
+++ b/contrib/wallet-core
@@ -1 +1 @@
-Subproject commit 8b667974a7c55fe542be8a58b0a9f20e3d62d770
+Subproject commit 5934e007f637bd9834a811e67c0a030d7a59f2c0
diff --git a/doc/prebuilt b/doc/prebuilt
index ab2e09b5a..c1a885ac1 160000
--- a/doc/prebuilt
+++ b/doc/prebuilt
@@ -1 +1 @@
-Subproject commit ab2e09b5a3711ab04f1f77f79158cc006cab3195
+Subproject commit c1a885ac1f9d9b2fdef19a976bed01dab4f7d852
diff --git a/src/auditor/taler-helper-auditor-wire-debit.c 
b/src/auditor/taler-helper-auditor-wire-debit.c
index f220467f0..60bca32be 100644
--- a/src/auditor/taler-helper-auditor-wire-debit.c
+++ b/src/auditor/taler-helper-auditor-wire-debit.c
@@ -731,11 +731,13 @@ struct ReasonDetail
 
   /**
    * Account properties, possibly NULL.
+   * FIXME: not used!
    */
   json_t *properties;
 
   /**
    * Account KYC rules.
+   * FIXME: not used!
    */
   json_t *jrules;
 
@@ -823,9 +825,7 @@ generate_report (void *cls,
                  void *value)
 {
   struct ReasonDetail *rd = value;
-  // struct TALER_AUDITORDB_KycLag kycl;
-  // struct TALER_AUDITORDB_AmlLag amllag;
-  // struct TALER_AUDITORDB_Lag lag;
+
 
   /* For now, we simplify and only check that the
      amount was tiny */
@@ -839,14 +839,18 @@ generate_report (void *cls,
   TALER_ARL_amount_add (&TALER_ARL_USE_AB (total_amount_lag),
                         &TALER_ARL_USE_AB (total_amount_lag),
                         &rd->total_amount);
-  // TODO add kyc lag db entry
-#if FIXME
   {
     enum GNUNET_DB_QueryStatus qs;
+    struct TALER_PaytoHashP h_payto;
 
-    qs = TALER_ARL_adb->insert_reserve_balance_insufficient_inconsistency (
+    TALER_payto_hash (rd->payto_uri,
+                      &h_payto);
+    qs = TALER_ARL_adb->insert_pending_deposit (
       TALER_ARL_adb->cls,
-      &rbiil);
+      rd->batch_deposit_serial_id,
+      &h_payto,
+      &rd->total_amount,
+      rd->deadline);
     if (qs < 0)
     {
       global_qs = qs;
@@ -854,7 +858,6 @@ generate_report (void *cls,
       return GNUNET_SYSERR;
     }
   }
-#endif
 #if TO_BE_REMOVED_DEAD_CODE
   TALER_ARL_report (report_kyc_lags,
                     GNUNET_JSON_PACK (

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]