summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_auditors.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-19 16:21:10 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-19 16:21:10 +0100
commit5a4c5594ff0a8fc5f65c813f769448806b183405 (patch)
tree6a835068581698e6d3c2d31fbc0b1ccf8750c0ab /src/backend/taler-merchant-httpd_auditors.c
parent4f1d6803f11d8f9ac1c441715de3091af21d25e0 (diff)
downloadmerchant-5a4c5594ff0a8fc5f65c813f769448806b183405.tar.gz
merchant-5a4c5594ff0a8fc5f65c813f769448806b183405.tar.bz2
merchant-5a4c5594ff0a8fc5f65c813f769448806b183405.zip
use new JSON APIs (#4237/#4150)
Diffstat (limited to 'src/backend/taler-merchant-httpd_auditors.c')
-rw-r--r--src/backend/taler-merchant-httpd_auditors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c
index 6cfa875f..0a892115 100644
--- a/src/backend/taler-merchant-httpd_auditors.c
+++ b/src/backend/taler-merchant-httpd_auditors.c
@@ -20,6 +20,7 @@
* @author Christian Grothoff
*/
#include "platform.h"
+#include <taler/taler_json_lib.h>
#include "taler-merchant-httpd_auditors.h"
/**
@@ -209,7 +210,7 @@ TMH_AUDITORS_init (const struct GNUNET_CONFIGURATION_Handle *cfg)
json_array_append_new (j_auditors,
json_pack ("{s:s, s:o, s:s}",
"name", auditors[cnt].name,
- "auditor_pub", TALER_json_from_data (&auditors[cnt].public_key,
+ "auditor_pub", GNUNET_JSON_from_data (&auditors[cnt].public_key,
sizeof (struct TALER_AuditorPublicKeyP)),
"uri", auditors[cnt].uri));
return nauditors;