return master_pub top-level in /wire, see #5991
This commit is contained in:
parent
97810cc46f
commit
204358e249
@ -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"
|
||||
|
||||
|
||||
/**
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user