aboutsummaryrefslogtreecommitdiff
path: root/src/util/json.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-28 19:48:41 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-28 19:48:41 +0100
commit2e0e30291c4e490389f85bbd4973374f0adf22f4 (patch)
tree8d5f306cb967e7e7ab137b133206c7414bbb6f35 /src/util/json.c
parente19f1906a3363f0f49553d35d95429c92bec29d4 (diff)
sign /deposit reply so that merchant has proof that mint accepted it
Diffstat (limited to 'src/util/json.c')
-rw-r--r--src/util/json.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/json.c b/src/util/json.c
index d66c95c43..120e1be5c 100644
--- a/src/util/json.c
+++ b/src/util/json.c
@@ -112,7 +112,8 @@ TALER_JSON_from_sig (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose,
el = json_integer ((json_int_t) ntohl (purpose->purpose));
json_object_set_new (root, "purpose", el);
- el = TALER_JSON_from_data (signature, sizeof (struct GNUNET_CRYPTO_EddsaSignature));
+ el = TALER_JSON_from_data (signature,
+ sizeof (struct GNUNET_CRYPTO_EddsaSignature));
json_object_set_new (root, "sig", el);
return root;