diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-03-19 16:21:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-03-19 16:21:10 +0100 |
commit | 5a4c5594ff0a8fc5f65c813f769448806b183405 (patch) | |
tree | 6a835068581698e6d3c2d31fbc0b1ccf8750c0ab /src/backend/taler-merchant-httpd_auditors.c | |
parent | 4f1d6803f11d8f9ac1c441715de3091af21d25e0 (diff) |
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.c | 3 |
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; |