return master_pub top-level in /wire, see #5991

This commit is contained in:
Christian Grothoff 2019-12-12 15:57:04 +01:00
parent 97810cc46f
commit 204358e249
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 5 additions and 3 deletions

View File

@ -44,7 +44,7 @@
* #TALER_PROTOCOL_CURRENT and #TALER_PROTOCOL_AGE in
* exchange_api_handle.c!
*/
#define TALER_PROTOCOL_VERSION "5:0:1"
#define TALER_PROTOCOL_VERSION "6:0:0"
/**

View File

@ -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));
}