commit bd43ba6f28a7bbf24aca298a5463b7b2a6870c79
parent 1f0e230741d514e71541daa3106aef6975d57e26
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 3 Sep 2024 01:05:31 +0200
adjust merchant to exchange API change
Diffstat:
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
@@ -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
@@ -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;