commit be228f6fc319401adf9c957153700fa92fb5e9dd
parent 890065a40bb8fe203f3415c6e12350c0a3f6e03d
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 3 Jul 2025 16:46:38 +0200
adjustments for exchange fix of #10117
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -334,12 +334,12 @@ AS_IF([test $libtalermhd != 1],
libtalerjson=0
AC_MSG_CHECKING([for libtalerjson])
AC_CHECK_HEADERS([taler/taler_json_lib.h],
- [AC_CHECK_LIB([talerjson], [TALER_JSON_spec_otp_type], libtalerjson=1)])
+ [AC_CHECK_LIB([talerjson], [TALER_JSON_currency_specs_to_json], libtalerjson=1)])
AM_CONDITIONAL(HAVE_TALERJSON, test x$libtalerjson = x1)
AS_IF([test $libtalerjson != 1],
[AC_MSG_ERROR([[
***
-*** You need libtalerjson >= 0.9.4 to build this program.
+*** You need libtalerjson >= 1.1 (API v6) to build this program.
*** This library is part of the GNU Taler exchange, available at
*** https://taler.net
*** ]])])
diff --git a/src/backend/taler-merchant-httpd_config.c b/src/backend/taler-merchant-httpd_config.c
@@ -104,8 +104,8 @@ MH_handler_config (const struct TMH_RequestHandler *rh,
json_object_set_new (
specs,
cspec->currency,
- TALER_CONFIG_currency_specs_to_json
- (cspec)));
+ TALER_JSON_currency_specs_to_json (
+ cspec)));
}
response = TALER_MHD_MAKE_JSON_PACK (
GNUNET_JSON_pack_string ("currency",