summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_validation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_validation.c')
-rw-r--r--src/exchange/taler-exchange-httpd_validation.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c
index 0be21528..67caf133 100644
--- a/src/exchange/taler-exchange-httpd_validation.c
+++ b/src/exchange/taler-exchange-httpd_validation.c
@@ -356,9 +356,11 @@ TEH_VALIDATION_get_wire_response ()
if ( (0 == json_array_size (wire_accounts_array)) ||
(0 == json_object_size (wire_fee_object)) )
return NULL;
- return json_pack ("{s:O, s:O}",
+ return json_pack ("{s:O, s:O, s:o}",
"accounts", wire_accounts_array,
- "fees", wire_fee_object);
+ "fees", wire_fee_object,
+ "master_pub", GNUNET_JSON_from_data_auto (
+ &TEH_master_public_key));
}