gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: adjust merchant to exchange API


From: gnunet
Subject: [taler-merchant] branch master updated: adjust merchant to exchange API change
Date: Tue, 03 Sep 2024 01:05:35 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new bd43ba6f adjust merchant to exchange API change
bd43ba6f is described below

commit bd43ba6f28a7bbf24aca298a5463b7b2a6870c79
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Sep 3 01:05:31 2024 +0200

    adjust merchant to exchange API change
---
 .../taler-merchant-httpd_private-get-instances-ID-kyc.c        |  2 +-
 src/backenddb/plugin_merchantdb_postgres.c                     | 10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c 
b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c
index 69a9d2b6..a3d3bbe7 100644
--- a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c
+++ b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c
@@ -753,7 +753,7 @@ kyc_with_exchange (void *cls,
   ekr->kyc = TALER_EXCHANGE_kyc_check (
     TMH_curl_ctx,
     ekr->exchange_url,
-    ekr->exchange_kyc_serial,
+    &h_payto,
     &ap,
     GNUNET_TIME_absolute_get_remaining (kc->timeout),
     &exchange_check_cb,
diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 2f499994..2bb74d32 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -336,6 +336,10 @@ postgres_connect (void *cls)
  * @return NULL on error, otherwise a `struct TALER_MERCHANTDB_Plugin`
  */
 void *
+libtaler_plugin_merchantdb_postgres_init (void *cls);
+
+/* declaration to avoid compiler warning */
+void *
 libtaler_plugin_merchantdb_postgres_init (void *cls)
 {
   const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
@@ -615,8 +619,6 @@ libtaler_plugin_merchantdb_postgres_init (void *cls)
     = &TMH_PG_lookup_spent_tokens_by_order;
 
 
-
-
   return plugin;
 }
 
@@ -628,6 +630,10 @@ libtaler_plugin_merchantdb_postgres_init (void *cls)
  * @return NULL (always)
  */
 void *
+libtaler_plugin_merchantdb_postgres_done (void *cls);
+
+/* declaration to avoid compiler warning */
+void *
 libtaler_plugin_merchantdb_postgres_done (void *cls)
 {
   struct TALER_MERCHANTDB_Plugin *plugin = cls;

-- 
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]